Created
June 17, 2013 23:33
-
-
Save whyrusleeping/5801458 to your computer and use it in GitHub Desktop.
struct Method and Member highlighting for go in vim
This file contains hidden or 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
syn match goMember "\.\zs\w\+\ze\%((\@!\W\)" | |
syn match goMethod "\.\zs\w\+\ze(" | |
hi def link goMember Identifier | |
hi def link goMethod Function |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment