summaryrefslogtreecommitdiffstats
path: root/autoload/elixir
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 /autoload/elixir
parent81ada1101ecbb0bc6dbaeef42e997e62129b36cc (diff)
downloadvim-polyglot-45a7512dea0599efaf96e8a2cad3fac7be61cf5d.tar.gz
vim-polyglot-45a7512dea0599efaf96e8a2cad3fac7be61cf5d.zip
Preserve loading order of plugins, fixes #608
Diffstat (limited to 'autoload/elixir')
-rw-r--r--autoload/elixir/indent.vim2
-rw-r--r--autoload/elixir/util.vim2
2 files changed, 2 insertions, 2 deletions
diff --git a/autoload/elixir/indent.vim b/autoload/elixir/indent.vim
index 7286de16..d21cceb3 100644
--- a/autoload/elixir/indent.vim
+++ b/autoload/elixir/indent.vim
@@ -1,4 +1,4 @@
-if !polyglot#util#IsEnabled('elixir', expand('<sfile>:p'))
+if !has_key(g:polyglot_is_disabled, 'elixir')
finish
endif
diff --git a/autoload/elixir/util.vim b/autoload/elixir/util.vim
index e5c660f3..04d62b7d 100644
--- a/autoload/elixir/util.vim
+++ b/autoload/elixir/util.vim
@@ -1,4 +1,4 @@
-if !polyglot#util#IsEnabled('elixir', expand('<sfile>:p'))
+if !has_key(g:polyglot_is_disabled, 'elixir')
finish
endif