New answers tagged

2

This works like a charm to change colors The red flash: ERROR. The syntax is local to buffer (or even to window :h ownsyntax). But the colors are global. So syntax files should do "hi-def-link" at most. Other stuff belongs to colorschemes. the settings work also inside the document Going through the text the matches are tried with respect to the ...


0

I spent a bit of time today throwing together some code for this exact purpose, and since the existing answers either use plugins or are slightly fragile, I figured I may as well post it here. To use it, just place the code inside an ftplugin file such as ~/.vim/after/ftplugin/tex.vim. Key "features": Provides iq, aq, iQ, aQ text objects (duh). ...


Top 50 recent answers are included