Open blueyed opened 10 years ago
Something like a :ClearTags
command? Would that command disable and clear the automatic syntax highlighting of tags, or just one of the two? For a single buffer or all of Vim?
It should undo what :HighlightTags
did, and therefore act on the current file / buffer.
:ClearTags!
might then act on every (affected) buffer maybe.
Although this thread is quite old, maybe somebody is interested in this solution/workaround:
:syntax on
seems to do the trick, but it affects all buffers.
I set an alias for it in my .vimrc
like that: command HighlightTagsOff syntax on
(I prefer :HighlightTagsOff
over :ClearTags
, because Tab-Completion offers both, the ON- and OFF-variant.)
Thanks!
I prefer :HighlightTagsOff over :ClearTags
:+1:
:HighlightTags
may cause Vim to become very slow. There should be a way to undo it.