Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
hoschi opened this issue Jan 3, 2014 · 2 comments

Comments

@hoschi
Copy link

commented Jan 3, 2014

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

@luochen1990

This comment has been minimized.

Copy link
Owner

commented Jan 6, 2014

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

@hoschi

This comment has been minimized.

Copy link
Author

commented Jan 6, 2014

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.