luochen1990 / rainbow

Rainbow Parentheses Improved, shorter code, no level limit, smooth and fast, powerful configuration.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is it possible to configure more than one operator to highlight?

hoschi opened this issue · comments

The default 'operators' config value is _,_. How can I highlight more than ',', e.g. ===, !==, ., ... ?

yes, since it is called 'operators',
for example , you can use this '_,\|+\|-\|*\|\/\|===\|!==_' for ,, +, -, *, /, === and !===
you can read the vim help about :syn-pattern for more details

Thanks!