vim-polyglot/syntax/vimgo.vim

18 lines
313 B
VimL
Raw Permalink Normal View History

if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'go') == -1
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
2016-06-26 12:03:28 -04:00
" vim: sw=2 ts=2 et
endif