ojroques / nvim-lspfuzzy

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

latest nvim causes vim.tbl_islist is deprecated, use vim.islist instead #41

Closed mckellygit closed 4 months ago

mckellygit commented 4 months ago

Hi,

Thanks for awesome nvim-lspfuzzy. Latest nvim causes this -

vim.tbl_islist is deprecated, use vim.islist instead. :help deprecated Feature will be removed in Nvim 0.12 stack traceback: vim/shared.lua: in function 'tbl_islist' /home/user/.vim/bundle/nvim-lspfuzzy/lua/lspfuzzy.lua:169: in function 'handler'

The fix I suppose is simply -

diff --git a/lua/lspfuzzy.lua b/lua/lspfuzzy.lua

I can create a PR if you want. Altho perhaps this needs a version check so it works with old and newer nvim ?

thx, -m

ojroques commented 4 months ago

Thanks for reporting that, it's fixed in the latest commit :)