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