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