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:
Phil Runninger
2019-05-09 10:12:25 -04:00
committed by GitHub
parent 3c06335782
commit a3f0e66793
4 changed files with 27 additions and 4 deletions

View File

@@ -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