Hey! I use lspconfig and whenever I try to rename a variable/function using tsserver I have this error that I don’t really understand. Is it because tsserver doesn’t support renaming? I tried renaming variables on other languages and it worked just fine (golang using gopls or lua using sumneko_lua). If you have any idea on how I can get this to work on js/ts I’ll be grad to try it out.
Thanks a lot for your time and have a great day!
E5108: Error executing lua vim/shared.lua:0: attempt to index a boolean value stack traceback: vim/shared.lua: in function 'tbl_get' /usr/share/nvim/runtime/lua/vim/lsp.lua:988: in function 'supports_method' /usr/share/nvim/runtime/lua/vim/lsp.lua:1489: in function 'fn' /usr/share/nvim/runtime/lua/vim/lsp.lua:164: in function 'for_each_buffer_client' /usr/share/nvim/runtime/lua/vim/lsp.lua:1488: in function 'buf_request' ...site/pack/packer/start/renamer.nvim/lua/renamer/init.lua:482: in function '_buf_request' ...site/pack/packer/start/renamer.nvim/lua/renamer/init.lua:375: in function '_lsp_rename' ...site/pack/packer/start/renamer.nvim/lua/renamer/init.lua:226: in function 'on_submit' [string ":lua"]:1: in main chunk