Is it possible to configure more than one operator to highlight?
hoschi opened this issue · comments
Stefan Gojan commented
The default 'operators' config value is _,_
. How can I highlight more than ',', e.g. ===, !==, ., ... ?
Luo Chen commented
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
Stefan Gojan commented
Thanks!