Add extra options for nvim-tree
This commit is contained in:
parent
40a4928ccd
commit
0f77a6c4e5
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue