summaryrefslogtreecommitdiffstats
path: root/ftplugin/twig.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ftplugin/twig.vim')
-rw-r--r--ftplugin/twig.vim8
1 files changed, 4 insertions, 4 deletions
diff --git a/ftplugin/twig.vim b/ftplugin/twig.vim
index fc406dba..086e938f 100644
--- a/ftplugin/twig.vim
+++ b/ftplugin/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
+
" Vim filetype plugin
" Language: Twig
" Maintainer: F. Gabriel Gosselin <gabrielNOSPAM@evidens.ca>
@@ -40,5 +42,3 @@ else
endif
" vim:set sw=2:
-
-endif