summaryrefslogtreecommitdiffstats
path: root/syntax/vimgo.vim
blob: df82a7090d0b7a57e42f3706500885a45d816c3d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
if !polyglot#util#IsEnabled('go', expand('<sfile>:p'))
  finish
endif

if exists("b:current_syntax")
  finish
endif

let b:current_syntax = "vimgo"

syn match   goInterface /^\S*/
syn region  goTitle start="\%1l" end=":"

hi def link goInterface Type
hi def link goTitle Label

" vim: sw=2 ts=2 et