This commit is contained in:
Nachuan Tang
2023-02-05 20:33:02 -05:00
parent 0bf78b35e1
commit aa309dcc20
2 changed files with 119 additions and 100 deletions
+4 -1
View File
@@ -101,6 +101,9 @@
if g:vim_version >= 0.8
Plug 'nvim-tree/nvim-tree.lua'
endif
if g:vim_version < 0.8
Plug 'scrooloose/nerdtree'
endif
endif
call plug#end()
@@ -205,7 +208,7 @@ endif
" }
" NerdTree {
if g:vim_type == 'vim' && isdirectory(expand(plugin_dir . "/nerdtree"))
if (g:vim_type == 'vim' || g:vim_version < 0.8) && isdirectory(expand(plugin_dir . "/nerdtree"))
let g:NERDShutUp=1
" work around for nerdtree bug: https://github.com/preservim/nerdtree/issues/1321