Fix lint warnings: use the full option name

This commit is contained in:
Caleb Maclennan
2019-12-31 09:40:39 +03:00
parent 38b1e5e7aa
commit 907587f7a3
4 changed files with 15 additions and 15 deletions

View File

@@ -165,12 +165,12 @@ endfunction
" FUNCTION: nerdtree#exec(cmd, ignoreAll) {{{2
" Same as :exec cmd but, if ignoreAll is TRUE, set eventignore=all for the duration
function! nerdtree#exec(cmd, ignoreAll) abort
let old_ei = &ei
let old_ei = &eventignore
if a:ignoreAll
set ei=all
set eventignore=all
endif
exec a:cmd
let &ei = old_ei
let &eventignore = old_ei
endfunction
" FUNCTION: nerdtree#has_opt(options, name) {{{2