mirror of
https://github.com/junegunn/fzf.git
synced 2025-05-19 04:40:22 -07:00
[vim] Empty out $FZF_DEFAULT_COMMAND before unletting it
For Vim 8.0.1831 and below * https://github.com/vim/vim/issues/1116 Fix https://github.com/junegunn/fzf.vim/issues/1301
This commit is contained in:
parent
179993f0cd
commit
2736a2f69e
@ -519,7 +519,8 @@ finally
|
||||
if len(prev_default_command)
|
||||
let $FZF_DEFAULT_COMMAND = prev_default_command
|
||||
else
|
||||
execute 'unlet $FZF_DEFAULT_COMMAND'
|
||||
let $FZF_DEFAULT_COMMAND = ''
|
||||
silent! execute 'unlet $FZF_DEFAULT_COMMAND'
|
||||
endif
|
||||
endif
|
||||
let [&shell, &shellslash, &shellcmdflag, &shellxquote] = [shell, shellslash, shellcmdflag, shellxquote]
|
||||
|
Loading…
x
Reference in New Issue
Block a user