mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-11-24 13:47:39 +00:00
[vim] Workaround for Neovim bug of unconditionally evaluating unlet $ENV_VAR
See #2495
This commit is contained in:
parent
9ef825d2fd
commit
cbedb57511
@ -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…
Reference in New Issue
Block a user