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