From eab6a610bb9d21db0c958f9dde910784f4642004 Mon Sep 17 00:00:00 2001 From: Nikita Bykov Date: Sat, 28 Jun 2025 16:23:55 +0500 Subject: [PATCH] delete oil.nvim and autoformat --- .config/nvim/init.lua | 3 +-- .config/nvim/lua/user/options.lua | 2 +- .config/nvim/lua/user/plugins.lua | 16 ++++++++-------- 3 files changed, 10 insertions(+), 11 deletions(-) diff --git a/.config/nvim/init.lua b/.config/nvim/init.lua index 3c275cb..2b3406f 100644 --- a/.config/nvim/init.lua +++ b/.config/nvim/init.lua @@ -23,7 +23,6 @@ require("user.gitsigns") require("user.dap.dapui") require("user.dap.dap") require("user.neotree") -require("user.oil") +-- require("user.oil") require("user.which_key") require("user.harpoon") - diff --git a/.config/nvim/lua/user/options.lua b/.config/nvim/lua/user/options.lua index d7ff681..c80cad4 100644 --- a/.config/nvim/lua/user/options.lua +++ b/.config/nvim/lua/user/options.lua @@ -43,7 +43,7 @@ vim.api.nvim_create_autocmd("FileType", { vim.cmd "au VimEnter * silent! !xmodmap -e 'clear Lock' -e 'keycode 0x42 = Escape'" vim.cmd "au VimLeave * silent! !xmodmap -e 'clear Lock' -e 'keycode 0x42 = Caps_Lock'" -vim.cmd [[autocmd BufWritePre lua vim.lsp.buf.format()]] +-- vim.cmd [[autocmd BufWritePre lua vim.lsp.buf.format()]] vim.cmd "set cursorline" diff --git a/.config/nvim/lua/user/plugins.lua b/.config/nvim/lua/user/plugins.lua index c46d1b6..84d41ba 100644 --- a/.config/nvim/lua/user/plugins.lua +++ b/.config/nvim/lua/user/plugins.lua @@ -45,15 +45,15 @@ lazy.setup({ "nvim-treesitter/nvim-treesitter-refactor", -- file explorer - { - 'stevearc/oil.nvim', - opts = {}, - -- Optional dependencies - dependencies = { "nvim-tree/nvim-web-devicons" }, - init = function() + -- { + -- 'stevearc/oil.nvim', + -- opts = {}, + -- -- Optional dependencies + -- dependencies = { "nvim-tree/nvim-web-devicons" }, + -- init = function() - end - }, + -- end + -- }, { "nvim-neo-tree/neo-tree.nvim", branch = "v3.x",