From cbedb575112a46058cbf3fb45f1569aed3a22fc0 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Fri, 21 May 2021 13:17:19 +0900 Subject: [PATCH] [vim] Workaround for Neovim bug of unconditionally evaluating `unlet $ENV_VAR` See #2495 --- plugin/fzf.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/fzf.vim b/plugin/fzf.vim index 11159af..04f9643 100644 --- a/plugin/fzf.vim +++ b/plugin/fzf.vim @@ -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]