Added oil.nvim

This commit is contained in:
Ruslan Rakhmanov 2025-05-28 15:30:34 +02:00
parent 97ed05cad3
commit 4ee16398a1
2 changed files with 17 additions and 0 deletions

View file

@ -1057,6 +1057,21 @@ require('lazy').setup({
},
},
{ -- Oil
'stevearc/oil.nvim',
---@module 'oil'
---@type oil.SetupOpts
opts = {},
keys = {
{ '<leader>-', '<cmd>Oil --float<CR>', desc = 'Oil' },
},
-- Optional dependencies
dependencies = { { 'echasnovski/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,
},
-- The following comments only work if you have downloaded the kickstart repo, not just copy pasted the
-- init.lua. If you want these files, they are in the repository, so you can just download them and
-- place them in the correct locations.