Currently, I have to edit some very large XML files, which slows down the syntax highlighting to the point where it is completely unusable - for example, it takes a few seconds to refresh the screen after a search operation.
When you turn off syntax highlighting ( :syn off ), the same operations occur instantly. Unfortunately, syntax highlighting is disabled worldwide, so now all other files are also disabled.
So: is there a way to turn off syntax highlighting for a given buffer?
vim syntax-highlighting
Dave vogt
source share