summaryrefslogtreecommitdiffstats
path: root/autoload/elixir
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2021-01-01 22:30:41 +0100
committerAdam Stankiewicz <sheerun@sher.pl>2021-01-01 22:30:41 +0100
commit05b8bbc938bdeac4a5ee2d3ae5cf7a7f05e822d3 (patch)
treec01457f2798bbbeaf313ac343315aec5a2aa3859 /autoload/elixir
parentf3b646fd6f6070072d9b4ec958815b74a8a333f2 (diff)
downloadvim-polyglot-05b8bbc938bdeac4a5ee2d3ae5cf7a7f05e822d3.tar.gz
vim-polyglot-05b8bbc938bdeac4a5ee2d3ae5cf7a7f05e822d3.zip
Fix loading for vim 8 packages, closes #613
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 f38947fd..412d2cf5 100644
--- a/autoload/elixir/indent.vim
+++ b/autoload/elixir/indent.vim
@@ -1,4 +1,4 @@
-if has_key(g:polyglot_is_disabled, 'elixir')
+if polyglot#init#is_disabled(expand('<sfile>:p'), 'elixir', 'autoload/elixir/indent.vim')
finish
endif
diff --git a/autoload/elixir/util.vim b/autoload/elixir/util.vim
index 4136799c..1cee9199 100644
--- a/autoload/elixir/util.vim
+++ b/autoload/elixir/util.vim
@@ -1,4 +1,4 @@
-if has_key(g:polyglot_is_disabled, 'elixir')
+if polyglot#init#is_disabled(expand('<sfile>:p'), 'elixir', 'autoload/elixir/util.vim')
finish
endif