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

21 lines
450 B
Lua
Raw Normal View History

2022-11-30 14:51:08 +00:00
vim.g.loaded_netrw = 1
2022-11-01 15:26:31 +00:00
vim.g.loaded_netrwPlugin = 1
2022-11-07 16:41:35 +00:00
require('nvim-tree').setup {
2022-11-30 14:51:08 +00:00
open_on_setup=true,
open_on_setup_file=false,
2022-11-30 14:51:08 +00:00
hijack_cursor=true,
sync_root_with_cwd=true,
update_focused_file = {
enable = true,
},
diagnostics = {
enable = true,
show_on_dirs = true,
},
filters = { custom = { "^.git$" } },
renderer = {
group_empty = true,
highlight_git = true,
},
}