move nvim_tree config to setup()

This commit is contained in:
Vladan Popovic 2021-12-26 12:08:52 +01:00
parent dbc39e9daa
commit d80dd17b48
2 changed files with 47 additions and 45 deletions

View File

@ -1,4 +1,3 @@
let g:nvim_tree_gitignore = 1 "0 by default
let g:nvim_tree_quit_on_open = 0 "0 by default, closes the tree when you open a file let g:nvim_tree_quit_on_open = 0 "0 by default, closes the tree when you open a file
let g:nvim_tree_indent_markers = 1 "0 by default, this option shows indent markers when folders are open let g:nvim_tree_indent_markers = 1 "0 by default, this option shows indent markers when folders are open
let g:nvim_tree_git_hl = 1 "0 by default, will enable file highlight for git attributes (can be used without the icons). let g:nvim_tree_git_hl = 1 "0 by default, will enable file highlight for git attributes (can be used without the icons).

View File

@ -23,6 +23,9 @@ return require('packer').startup(function()
open_on_tab = false, open_on_tab = false,
hijack_cursor = false, hijack_cursor = false,
update_cwd = false, update_cwd = false,
git = {
ignore = true
},
update_to_buf_dir = { update_to_buf_dir = {
enable = true, enable = true,
auto_open = true, auto_open = true,