summaryrefslogtreecommitdiffstats
path: root/indent/twig.vim
diff options
context:
space:
mode:
Diffstat (limited to 'indent/twig.vim')
-rw-r--r--indent/twig.vim8
1 files changed, 4 insertions, 4 deletions
diff --git a/indent/twig.vim b/indent/twig.vim
index 421f7201..69d60524 100644
--- a/indent/twig.vim
+++ b/indent/twig.vim
@@ -1,5 +1,7 @@
-if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'twig') == -1
-
+if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'twig') != -1
+ finish
+endif
+
if exists("b:ran_once")
finish
endif
@@ -76,5 +78,3 @@ fun! s:BuildStructures()
endfun
call s:BuildStructures()
-
-endif