summaryrefslogtreecommitdiffstats
path: root/syntax/gohtmltmpl.vim
diff options
context:
space:
mode:
Diffstat (limited to 'syntax/gohtmltmpl.vim')
-rw-r--r--syntax/gohtmltmpl.vim4
1 files changed, 4 insertions, 0 deletions
diff --git a/syntax/gohtmltmpl.vim b/syntax/gohtmltmpl.vim
index 5aa6c98d..b5e3ff76 100644
--- a/syntax/gohtmltmpl.vim
+++ b/syntax/gohtmltmpl.vim
@@ -1,3 +1,5 @@
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'go') == -1
+
if exists("b:current_syntax")
finish
endif
@@ -13,3 +15,5 @@ unlet b:current_syntax
let b:current_syntax = "gohtmltmpl"
" vim:ts=4:sw=4:et
+
+endif