[vim] Workaround for Neovim bug of unconditionally evaluating `unlet $ENV_VAR`

See #2495
pull/2426/merge
Junegunn Choi 3 years ago
parent 9ef825d2fd
commit cbedb57511
No known key found for this signature in database
GPG Key ID: 254BC280FEF9C627

@ -519,7 +519,7 @@ finally
if len(prev_default_command)
let $FZF_DEFAULT_COMMAND = prev_default_command
else
unlet $FZF_DEFAULT_COMMAND
execute 'unlet $FZF_DEFAULT_COMMAND'
endif
endif
let [&shell, &shellslash, &shellcmdflag, &shellxquote] = [shell, shellslash, shellcmdflag, shellxquote]

Loading…
Cancel
Save