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 1380d1c3..621a592c 100644
--- a/ftplugin/twig.vim
+++ b/ftplugin/twig.vim
@@ -1,4 +1,4 @@
-if has_key(g:polyglot_is_disabled, 'twig')
+if polyglot#init#is_disabled(expand('<sfile>:p'), 'twig', 'ftplugin/twig.vim')
finish
endif