-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Various improvements to syntax highlighting. (#917)
* Various improvements to syntax highlighting. Look behind regexp patterns are not recommended in syntax files, especially with the new NFA engine. So we should try to avoid them. Highlighting of methods, fields, methods, structs and interfaces should be much faster now. Consolidated two options g:go_highlight_structs and g:go_highlight_interfaces into one g:go_highlight_types. * added goVarArgs match explicitly match variadic args, so they are not detected as goField instead.
- Loading branch information
Showing
3 changed files
with
31 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters