2015-07-18 17:05:45 -04:00
|
|
|
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'go') == -1
|
|
|
|
|
2015-05-11 09:05:13 -04:00
|
|
|
if exists("b:current_syntax")
|
|
|
|
finish
|
|
|
|
endif
|
|
|
|
|
|
|
|
if !exists("main_syntax")
|
|
|
|
let main_syntax = 'html'
|
|
|
|
endif
|
|
|
|
|
|
|
|
runtime! syntax/gotexttmpl.vim
|
|
|
|
runtime! syntax/html.vim
|
|
|
|
unlet b:current_syntax
|
|
|
|
|
|
|
|
let b:current_syntax = "gohtmltmpl"
|
|
|
|
|
|
|
|
" vim:ts=4:sw=4:et
|
2015-07-18 17:05:45 -04:00
|
|
|
|
|
|
|
endif
|