vim-polyglot/syntax/gohtmltmpl.vim

20 lines
333 B
VimL
Raw Normal View History

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