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

See #2495
This commit is contained in:
Junegunn Choi 2021-05-21 13:17:19 +09:00
parent 9ef825d2fd
commit cbedb57511
No known key found for this signature in database
GPG Key ID: 254BC280FEF9C627
1 changed files with 1 additions and 1 deletions

View File

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