Skip to content

Commit

Permalink
Merge pull request #1048 from svanharmelen/f-highlight-func-calls
Browse files Browse the repository at this point in the history
Add support for highlighting function calls
  • Loading branch information
fatih authored Oct 4, 2016
2 parents 6ca2577 + 961466f commit 977b68d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions syntax/go.vim
Original file line number Diff line number Diff line change
Expand Up @@ -302,10 +302,12 @@ if g:go_highlight_functions != 0
syn match goPointerOperator /\*/ nextgroup=goReceiverType contained skipwhite skipnl
syn match goReceiverType /\w\+/ contained
syn match goFunction /\w\+/ contained
syn match goFunctionCall /\w\+\ze(/
else
syn keyword goDeclaration func
endif
hi def link goFunction Function
hi def link goFunctionCall Type

" Methods;
if g:go_highlight_methods != 0
Expand Down

0 comments on commit 977b68d

Please sign in to comment.