-
Notifications
You must be signed in to change notification settings - Fork 143
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
Highlight classes names and methods names? #119
Comments
Yes it is possible but only by adding new syntax matches to this syntax. Essentially that means defining regex patterns that will match those class and method names. |
Do you know any resources on how to create syntax files ? I'd love to take care of this. |
Hi @Zabanaa, a good place to start with any vimscript learnings is Steve Losh's Learn Vimscript the Hardway. There are two chapters in there on syntax highlighting. Also the built-in help, the user-guide I would be very happy to get more contributions on this, thanks. |
@Zabanaa maybe you can check https://github.com/pangloss/vim-javascript for inspiration |
vim's built in typescript syntax highlighter does this. The problem I had with the native solution was that it breaks on template strings (e.g. backticks)...which is why I tried out this plugin. I also notice that |
Is it possible to highlight classes names and methods names?
The text was updated successfully, but these errors were encountered: