summaryrefslogtreecommitdiffstats
path: root/ftplugin/twig.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ftplugin/twig.vim')
-rw-r--r--ftplugin/twig.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/ftplugin/twig.vim b/ftplugin/twig.vim
index ac52d1b9..7635a4fb 100644
--- a/ftplugin/twig.vim
+++ b/ftplugin/twig.vim
@@ -1,4 +1,4 @@
-if !polyglot#util#IsEnabled('twig', expand('<sfile>:p'))
+if !has_key(g:polyglot_is_disabled, 'twig')
finish
endif