2019-03-04 03:28:35 -05:00
|
|
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'go') != -1
|
|
|
|
finish
|
|
|
|
endif
|
|
|
|
|
2014-11-10 20:37:21 -05:00
|
|
|
if exists("b:current_syntax")
|
2016-06-26 12:03:28 -04:00
|
|
|
finish
|
2014-11-10 20:37:21 -05:00
|
|
|
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
|
|
|
|
2016-06-26 12:03:28 -04:00
|
|
|
" vim: sw=2 ts=2 et
|