diff options
Diffstat (limited to 'nvim/lua/plugins/oil-nvim.lua')
| -rw-r--r-- | nvim/lua/plugins/oil-nvim.lua | 31 |
1 files changed, 21 insertions, 10 deletions
diff --git a/nvim/lua/plugins/oil-nvim.lua b/nvim/lua/plugins/oil-nvim.lua index af948a3..285b104 100644 --- a/nvim/lua/plugins/oil-nvim.lua +++ b/nvim/lua/plugins/oil-nvim.lua @@ -1,13 +1,24 @@ return { - 'stevearc/oil.nvim', - ---@module 'oil' - ---@type oil.SetupOpts - opts = { - vim.keymap.set("n", "<F2>", "<Cmd>Oil<CR>", { desc = "Open parent directory" }), + { + 'stevearc/oil.nvim', + ---@module 'oil' + ---@type oil.SetupOpts + opts = { + vim.keymap.set("n", "<F2>", "<Cmd>Oil<CR>", { desc = "Open parent directory" }), + }, + -- Optional dependencies + -- dependencies = { { "nvim-mini/mini.icons", opts = {} } }, + dependencies = { "nvim-tree/nvim-web-devicons" }, -- use if you prefer nvim-web-devicons + -- Lazy loading is not recommended because it is very tricky to make it work correctly in all situations. + lazy = false, + }, + { + "refractalize/oil-git-status.nvim", + + dependencies = { + "stevearc/oil.nvim", + }, + + config = true, }, - -- Optional dependencies - dependencies = { { "nvim-mini/mini.icons", opts = {} } }, - -- dependencies = { "nvim-tree/nvim-web-devicons" }, -- use if you prefer nvim-web-devicons - -- Lazy loading is not recommended because it is very tricky to make it work correctly in all situations. - lazy = false, } |
