Add extra options for nvim-tree

This commit is contained in:
Evie Litherland-Smith 2022-11-30 14:51:08 +00:00
parent 40a4928ccd
commit 0f77a6c4e5

View file

@ -1,6 +1,17 @@
vim.g.loaded = 1
vim.g.loaded_netrw = 1
vim.g.loaded_netrwPlugin = 1
require('nvim-tree').setup {
open_on_setup=true,
open_on_setup_file=true,
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,