How do I highlight operators/parentheses/brackets/etc. in VIM? I’m not interested in coloring matching or unmatching parentheses/brackets.
I’ve tried ‘:hi cBracket/whatnot guifg=something’ and ‘:hi Operator/cOperator guifg=something’ but these don’t seem to affect anything.
There are two parts to Vim syntax coloring: the
syncommand and thehicommand.As far as I understand, you use
synto define syntax. For example:Then you use
hito tell Vim how to highlightparens: