luochen1990/rainbow

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

hoschi opened this issue · 2 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!