18 lines
313 B
VimL
18 lines
313 B
VimL
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'go') == -1
|
|
|
|
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
|
|
|
|
endif
|