vim-polyglot/syntax/gohtmltmpl.vim

20 lines
329 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
if !exists("main_syntax")
2016-06-26 12:03:28 -04:00
let 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