Closed redsuperbat closed 3 months ago
Hmm... is this still an issue? I've tried this with my config and nothig breaks. And how do you restart tsserver? With :LspRestart
?
Or if you are using nightly this might help: https://github.com/pmizio/typescript-tools.nvim/pull/275
Hi! Thanks for looking into it, yes I was using nightly. However I switched from it since it was messing up my workflow :) Seems like you found the issue, great! 🚀
I use this autocmd which works really well. However when I restart the tsserver and then save the file the autocmd breaks.
This is the autocmd:
This is the error:
Restarting neovim fixes this issue, but it would be nice not to have to restart neovim every time I want to restart the lsp.