Very slow while editing long .ts files

What happened?

While editing a large .ts file (~2000 lines) I get terrible performances while typing. I have a key-press to char displayed lag of about 2/3 seconds, making the editor unusable. I have absolutely no problems nor delays on other files.


Loading data dump...

System information

Loading data dump...

Based on your profiling results, have you tried disabling font-lock?

I tried now: disabling font-lock gets rid of any sort of lag. After re-enabling it I still don’t have any lag, but completion doesn’t work. I am using company and I have enabled “javascript” in the init.el file.

This topic was automatically closed after 90 days. New replies are no longer allowed.