ojroques / nvim-lspfuzzy

A Neovim plugin to make the LSP client use FZF
BSD 2-Clause "Simplified" License
316 stars 11 forks source link

fzf preview not works #4

Closed zanglg closed 3 years ago

zanglg commented 3 years ago

preview works well on fzf's built-in function, what debug info do you need to help

wgurecky commented 3 years ago

I also encountered this issue. I think it has to do with : https://github.com/ojroques/nvim-lspfuzzy/blob/7896597f54e0f7b90acda26468f5bbe97544b330/lua/lspfuzzy.lua#L82-L87

could try let g:loaded_fzf_vim = 1 in init.vim as a workaround (assuming fzf.vim is installed).

ojroques commented 3 years ago

Hello! Yes I've very recently (yesterday) changed how fzf.vim is detected because fzf.vim has just added the global variable g:loaded_fzf_vim, see https://github.com/junegunn/fzf.vim/commit/636a62f140181f80c8e7460a76ae6a5d2c5d97b2. So make sure to update fzf.vim and it should work.

zanglg commented 3 years ago

@wgurecky @ojroques let g:loaded_fzf_vim = 1 or update fzf.vim both works, thanks, closed.