basic oil
This commit is contained in:
18
nvim/.config/nvim/lua/romanzy/plugins/oil.lua
Normal file
18
nvim/.config/nvim/lua/romanzy/plugins/oil.lua
Normal file
@@ -0,0 +1,18 @@
|
||||
vim.pack.add({
|
||||
{
|
||||
src = "https://github.com/stevearc/oil.nvim",
|
||||
name = "oil.nvim",
|
||||
},
|
||||
})
|
||||
|
||||
require("oil").setup({
|
||||
view_options = {
|
||||
show_hidden = true,
|
||||
is_hidden_file = function(name, _)
|
||||
return vim.startswith(name, ".")
|
||||
end,
|
||||
is_always_hidden = function(name, _)
|
||||
return name == ".git"
|
||||
end,
|
||||
},
|
||||
})
|
||||
Reference in New Issue
Block a user