2019-03-04 03:28:35 -05:00
|
|
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'go') != -1
|
|
|
|
finish
|
|
|
|
endif
|
|
|
|
|
2015-05-11 09:05:13 -04:00
|
|
|
if exists("b:current_syntax")
|
2016-06-26 12:03:28 -04:00
|
|
|
finish
|
2015-05-11 09:05:13 -04:00
|
|
|
endif
|
|
|
|
|
2017-11-19 15:26:59 -05:00
|
|
|
if !exists("g:main_syntax")
|
|
|
|
let g:main_syntax = 'html'
|
2015-05-11 09:05:13 -04:00
|
|
|
endif
|
|
|
|
|
|
|
|
runtime! syntax/gotexttmpl.vim
|
|
|
|
runtime! syntax/html.vim
|
|
|
|
unlet b:current_syntax
|
|
|
|
|
2018-04-30 15:00:42 -04:00
|
|
|
syn cluster htmlPreproc add=gotplAction,goTplComment
|
|
|
|
|
2015-05-11 09:05:13 -04:00
|
|
|
let b:current_syntax = "gohtmltmpl"
|
|
|
|
|
2016-06-26 12:03:28 -04:00
|
|
|
" vim: sw=2 ts=2 et
|