kosayoda / nvim-lightbulb

VSCode 💡 for neovim's built-in LSP.
MIT License
783 stars 27 forks source link

Error with other plugin - pmizio/typescript-tools.nvim #52

Closed lvim-tech closed 1 year ago

lvim-tech commented 1 year ago

Error with other plugin - pmizio/typescript-tools.nvim

Error executing lua callback: /mnt/system/app/neovim10/share/nvim/runtime/lua/vim/lsp.lua:1586: id: expected number, got string stack traceback: [C]: in function 'error' vim/shared.lua: in function 'validate' /mnt/system/app/neovim10/share/nvim/runtime/lua/vim/lsp.lua:1586: in function 'cancel_request' /mnt/system/app/neovim10/share/nvim/runtime/lua/vim/lsp.lua:2134: in function 'lightbulb_lsp_cancel' ...are/nvim/lazy/nvim-lightbulb/lua/nvim-lightbulb/init.lua:241: in function <...are/nvim/lazy/nvim-lightbulb/lua/nvim-lightbulb/init.lua:202>

kosayoda commented 1 year ago

Hi, can you share a minimal reproducible example? My initial thoughts are that it might be a bug with typescript-tools, since according to the docs request cancellation takes a integer | string.

lvim-tech commented 1 year ago

Yes, I think this is a typescript-tools.nvim issue I removed it. Thanks for your work!