summaryrefslogtreecommitdiffstats
path: root/compiler/rspec.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2020-10-25 20:33:44 +0100
committerAdam Stankiewicz <sheerun@sher.pl>2020-10-25 20:33:44 +0100
commit45a7512dea0599efaf96e8a2cad3fac7be61cf5d (patch)
treebe0f50b1fe89625021111ad0d34555ef141d4146 /compiler/rspec.vim
parent81ada1101ecbb0bc6dbaeef42e997e62129b36cc (diff)
downloadvim-polyglot-45a7512dea0599efaf96e8a2cad3fac7be61cf5d.tar.gz
vim-polyglot-45a7512dea0599efaf96e8a2cad3fac7be61cf5d.zip
Preserve loading order of plugins, fixes #608
Diffstat (limited to '')
-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