summaryrefslogtreecommitdiffstats
path: root/ftplugin/twig.vim
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ftplugin/twig.vim6
1 files changed, 2 insertions, 4 deletions
diff --git a/ftplugin/twig.vim b/ftplugin/twig.vim
index 086e938f..20f31ec2 100644
--- a/ftplugin/twig.vim
+++ b/ftplugin/twig.vim
@@ -1,7 +1,4 @@
-if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'twig') != -1
- finish
-endif
-
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'twig') == -1
" Vim filetype plugin
" Language: Twig
" Maintainer: F. Gabriel Gosselin <gabrielNOSPAM@evidens.ca>
@@ -42,3 +39,4 @@ else
endif
" vim:set sw=2:
+endif