summaryrefslogtreecommitdiffstats
path: root/syntax/vimgo.vim
blob: 66b9f18255ebfa3ee7aeec0b66d8648f70d71cbf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
if polyglot#init#is_disabled(expand('<sfile>:p'), 'go', 'syntax/vimgo.vim')
  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