mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-08 11:33:52 -05:00
22 lines
398 B
VimL
22 lines
398 B
VimL
if polyglot#init#is_disabled(expand('<sfile>:p'), 'go', 'syntax/gohtmltmpl.vim')
|
|
finish
|
|
endif
|
|
|
|
if exists("b:current_syntax")
|
|
finish
|
|
endif
|
|
|
|
if !exists("g:main_syntax")
|
|
let g:main_syntax = 'html'
|
|
endif
|
|
|
|
runtime! syntax/gotexttmpl.vim
|
|
runtime! syntax/html.vim
|
|
unlet b:current_syntax
|
|
|
|
syn cluster htmlPreproc add=gotplAction,goTplComment
|
|
|
|
let b:current_syntax = "gohtmltmpl"
|
|
|
|
" vim: sw=2 ts=2 et
|