summaryrefslogtreecommitdiffstats
path: root/indent/gohtmltmpl.vim
diff options
context:
space:
mode:
Diffstat (limited to 'indent/gohtmltmpl.vim')
-rw-r--r--indent/gohtmltmpl.vim8
1 files changed, 4 insertions, 4 deletions
diff --git a/indent/gohtmltmpl.vim b/indent/gohtmltmpl.vim
index 93a4969b..60c38fe0 100644
--- a/indent/gohtmltmpl.vim
+++ b/indent/gohtmltmpl.vim
@@ -1,5 +1,7 @@
-if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'go') == -1
-
+if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'go') != -1
+ finish
+endif
+
if exists("b:did_indent")
finish
endif
@@ -54,5 +56,3 @@ let &cpo = s:cpo_save
unlet s:cpo_save
" vim: sw=2 ts=2 et
-
-endif