.
This commit is contained in:
+4
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user