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