go.vim 384 B

12345678910111213
  1. if !exists("g:go_highlight_types")
  2. let g:go_highlight_types = 0
  3. endif
  4. " Some plugin is swallowing first braces. use this for now
  5. " FIXME: Find meddling plugin
  6. if g:go_highlight_types != 0
  7. syn match goTypeConstructor /\<\w\+\({\)\@=/
  8. endif
  9. " I like green, ok? And these are functions.. not types. Jeez
  10. hi def link goFunctionCall Function
  11. hi def link goMethodCall Function