3 ms·
Just don't turn on syntax highlighting. I've made that mistake with a giant SQL file.
by SquareWheel 9y ago
Just don't turn on syntax highlighting. I've made that mistake with a giant SQL file.
- ComputerGuru 9y agoA lot of vim plugins take a different approach that initially makes one think they are broken: they only render syntax based on what's in the buffer, which leads to things like HTML closing tags with opening tags not visible in the buffer (presuming you didn't scroll past the opening tag and jumped straight to the current position) won't be highlighted correctly, etc. but it means never having to parse the entire file just to get syntax highlighting working. It's a good compromise, on the whole.