aboutsummaryrefslogtreecommitdiff
path: root/nvim/lua/plugins/oil-nvim.lua
diff options
context:
space:
mode:
Diffstat (limited to 'nvim/lua/plugins/oil-nvim.lua')
-rw-r--r--nvim/lua/plugins/oil-nvim.lua40
1 files changed, 21 insertions, 19 deletions
diff --git a/nvim/lua/plugins/oil-nvim.lua b/nvim/lua/plugins/oil-nvim.lua
index 0f645c3..460addc 100644
--- a/nvim/lua/plugins/oil-nvim.lua
+++ b/nvim/lua/plugins/oil-nvim.lua
@@ -1,21 +1,23 @@
return {
- {
- "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,
- },
- {
- "malewicz1337/oil-git.nvim",
- dependencies = {
- "stevearc/oil.nvim",
- },
- },
+ {
+ "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,
+ version = "*",
+ },
+ {
+ "malewicz1337/oil-git.nvim",
+ version = "*",
+ dependencies = {
+ "stevearc/oil.nvim",
+ },
+ },
}