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.
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.