You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I managed to "fix" this issue by changing the following:
" autoload/fzf/vim.vim line 31" plugin/fzf.vim line 26" autoload/fzf/vim/complete.vim line 26lets:is_win=1
I guess it's assuming shell based on the OS rather than checking for the shell by itself. I saw some code checking for wsl too.
A proper fix would be to have s:is_win check for cmd/powershell/pwsh rather than win32/win64.
man fzf
)Issue
On a fresh install executing
:Files
causes the preview to display the following error:The execution of the preview script fails, I assume it's due to the use of single quotes instead of double quotes.
Workaround
I had to override Files command like shown in the fzf.vim readme for it to work
Although this is not perfect since all commands that call
fzf#vim#with_preview
have the exact same error, like:Rg
and must be tweaked independently.System info
The text was updated successfully, but these errors were encountered: