Skip to content
Myr

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

Before adoption: this commit came in with the history the project adopted, so no landing records it.

See #2495

authored by Junegunn Choi · committed by Junegunn Choi · parent 9ef825d · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:plugin/fzf.vim+1 added-1 removed
517 unmodified lines
518 if len(source_command)519 if len(prev_default_command)520 let $FZF_DEFAULT_COMMAND = prev_default_command521 else522 unlet $FZF_DEFAULT_COMMAND522 execute 'unlet $FZF_DEFAULT_COMMAND'523 endif524 endif525 let [&shell, &shellslash, &shellcmdflag, &shellxquote] = [shell, shellslash, shellcmdflag, shellxquote]526endtry
519 unmodified lines