junegunn / fzf.vim

fzf :heart: vim
MIT License
9.59k stars 582 forks source link

Try to fix nvim windows wsl bash preview problem #1366

Closed NoahELE closed 3 months ago

NoahELE commented 2 years ago

Sorry if this bothers you, because I actually know very little about viml. But this fix solves my problem.

junegunn commented 2 years ago

Related: #429 and #557

@janlazo Can we drop the nvim branch as suggested here?

codito commented 2 years ago

Confirming this fix works on nvim in Windows.

harrisonmg commented 2 years ago

I have the same issue, and this fix works for me.

Running nvim in PowerShell with WSL bash installed.

PS C:\Users\Harrison> cmd.exe /s /c 'for %A in ("C:\Users\Harrison\.local\share\nvim\plugged\fzf.vim/bin/preview.sh") do @echo %~sA'
C:\Users\Harrison\LOCAL~1\share\nvim\plugged\fzf.vim\bin\preview.sh

It looks like the 8.3 name doesn't like the leading . in .local.