Dim gitignored files in neotree
format chrome.lua
This commit is contained in:
parent
3d86bfef4d
commit
fb6b8ffb3e
2 changed files with 126 additions and 136 deletions
|
@ -7,15 +7,12 @@ return {
|
|||
"MunifTanjim/nui.nvim",
|
||||
-- {"3rd/image.nvim", opts = {}}, -- Optional image support in preview window: See `# Preview Mode` for more information
|
||||
},
|
||||
lazy = false, -- neo-tree will lazily load itself
|
||||
lazy = true, -- neo-tree will lazily load itself
|
||||
opts = {
|
||||
filesystem = {
|
||||
filtered_items = {
|
||||
visible = true,
|
||||
-- hide_dotfiles = false,
|
||||
hide_by_name = {
|
||||
".git",
|
||||
},
|
||||
hide_gitignored = true,
|
||||
},
|
||||
},
|
||||
event_handlers = {
|
||||
|
@ -23,7 +20,7 @@ return {
|
|||
event = "file_opened",
|
||||
handler = function(file_path)
|
||||
--auto close neo-tree when file is opened
|
||||
vim.cmd("Neotree close")
|
||||
vim.cmd("Neotree close")
|
||||
end,
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue