2015-07-18 17:05:45 -04:00
|
|
|
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'go') == -1
|
|
|
|
|
2014-11-10 20:37:21 -05:00
|
|
|
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
|
2015-07-18 17:05:45 -04:00
|
|
|
|
|
|
|
endif
|