Closed crazyboycjr closed 4 years ago
:h coc-config-preferences
Hi @chemzqm, "coc.preferences.maxFileSize" seems to disable the entire coc, which is not expected. Maybe we need an option to just disable the highlight plugin on a large file.
You don't need that, the performance was improved
You can use :CocCommand document.toggleColors
Looks great! Thanks!
I just found that if I open a text file of several MBs, the coc-highlight would be slow to do the highlighting work. It may take ~1s to react to the vim motion. If you are using Linux, you can test with the following commands.