mirror of
https://github.com/preservim/nerdtree.git
synced 2025-11-10 20:33:50 -05:00
Change minimum vim (#991)
* Add a new function to implement and() from vim 7.4. * Change minimum required version of vim to 7.3.
This commit is contained in:
@@ -256,7 +256,7 @@ endfunction
|
||||
function! s:Bookmark.open(nerdtree, ...)
|
||||
let opts = a:0 ? a:1 : {}
|
||||
|
||||
if and(g:NERDTreeQuitOnOpen,2)
|
||||
if nerdtree#and(g:NERDTreeQuitOnOpen,2)
|
||||
call a:nerdtree.ui.toggleShowBookmarks()
|
||||
endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user