diff options
Diffstat (limited to '')
-rw-r--r-- | syntax/gohtmltmpl.vim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/syntax/gohtmltmpl.vim b/syntax/gohtmltmpl.vim index 95953d61..0cc7b955 100644 --- a/syntax/gohtmltmpl.vim +++ b/syntax/gohtmltmpl.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'go') == -1 + if exists("b:current_syntax") finish endif @@ -16,4 +17,5 @@ syn cluster htmlPreproc add=gotplAction,goTplComment let b:current_syntax = "gohtmltmpl" " vim: sw=2 ts=2 et + endif |