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
Closed

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

hoschi opened this issue Jan 3, 2014 · 2 comments
Labels
config reference Some Advanced Configuration Examples Can be Referenced by other Users

Comments

@hoschi
Copy link

hoschi commented Jan 3, 2014

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

@luochen1990
Copy link
Owner

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
Copy link
Author

hoschi commented Jan 6, 2014

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
config reference Some Advanced Configuration Examples Can be Referenced by other Users
Projects
None yet
Development

No branches or pull requests

2 participants