neoclide / coc-tsserver

Tsserver extension for coc.nvim that provide rich features like VSCode for javascript & typescript
MIT License
1.05k stars 68 forks source link

nvim with coc-tsserver becomes really slow after long periods of time #283

Closed lucasvinhas closed 3 years ago

lucasvinhas commented 3 years ago

When I'm using coc for long periods of time with the coc-tsserver plugin, nvim starts to become really, really slow. Initially, I thought that the problem was the number of buffers, but then I realized that even when I'm working with a small number of buffers it also gets slow after 2-3 hours of work. I know this is impossible to reproduce but I wonder if there is anything I can do do debug this ?

chemzqm commented 3 years ago

If your vim slow checkout :h :profile, if your tsserver get slow to response, use :CocRestart