mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-21 16:39:04 +02:00
fix: nvim tree git ignore hide file
This commit is contained in:
parent
ad9f646417
commit
e2afd37cae
4 changed files with 148 additions and 57 deletions
|
@ -220,7 +220,7 @@ return {
|
|||
end,
|
||||
}
|
||||
]]
|
||||
|
||||
|
||||
return {
|
||||
"nvim-tree/nvim-tree.lua",
|
||||
cmd = { "NvimTreeFindFileToggle", "NvimTree", "NvimTreeOpen", "NvimTreeToggle", "NvimTreeFocus", "NvimTreeClose" },
|
||||
|
@ -230,7 +230,6 @@ return {
|
|||
opts = function()
|
||||
local icons = pcode.icons
|
||||
return {
|
||||
filters = { dotfiles = false },
|
||||
disable_netrw = true,
|
||||
hijack_cursor = true,
|
||||
sync_root_with_cwd = true,
|
||||
|
@ -304,6 +303,18 @@ return {
|
|||
".prettierignore",
|
||||
},
|
||||
},
|
||||
notify = {
|
||||
threshold = vim.log.levels.INFO,
|
||||
-- threshold = vim.log.levels.ERROR,
|
||||
},
|
||||
git = {
|
||||
enable = true,
|
||||
ignore = false,
|
||||
show_on_dirs = true,
|
||||
show_on_open_dirs = true,
|
||||
disable_for_dirs = {},
|
||||
timeout = 400,
|
||||
},
|
||||
}
|
||||
end,
|
||||
config = function(_, opts)
|
||||
|
@ -313,4 +324,4 @@ return {
|
|||
vim.cmd("edit " .. file.fname)
|
||||
end)
|
||||
end,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue