summaryrefslogtreecommitdiffstats
path: root/syntax/cucumber.vim
diff options
context:
space:
mode:
Diffstat (limited to 'syntax/cucumber.vim')
-rw-r--r--syntax/cucumber.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/syntax/cucumber.vim b/syntax/cucumber.vim
index 6c51dcc0..20edd2d9 100644
--- a/syntax/cucumber.vim
+++ b/syntax/cucumber.vim
@@ -1,4 +1,4 @@
-if has_key(g:polyglot_is_disabled, 'cucumber')
+if polyglot#init#is_disabled(expand('<sfile>:p'), 'cucumber', 'syntax/cucumber.vim')
finish
endif