mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-08 11:33:52 -05:00
18 lines
319 B
VimL
18 lines
319 B
VimL
if polyglot#init#is_disabled(expand('<sfile>:p'), 'go', 'syntax/vimgo.vim')
|
|
finish
|
|
endif
|
|
|
|
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
|