nixos/config/nvim/lua/config_plugins/config_nvim-tree.lua

21 lines
453 B
Lua

vim.g.loaded_netrw = 1
vim.g.loaded_netrwPlugin = 1
require('nvim-tree').setup {
open_on_setup=false,
open_on_setup_file=false,
hijack_cursor=false,
sync_root_with_cwd=true,
update_focused_file = {
enable = true,
},
diagnostics = {
enable = true,
show_on_dirs = false,
},
filters = { custom = { "^.git$" } },
renderer = {
group_empty = true,
highlight_git = true,
},
}