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