summaryrefslogtreecommitdiff
path: root/autoload
diff options
context:
space:
mode:
Diffstat (limited to 'autoload')
-rw-r--r--autoload/ale/fixers/mix_format.vim3
-rw-r--r--autoload/ale/handlers/elixir.vim5
2 files changed, 1 insertions, 7 deletions
diff --git a/autoload/ale/fixers/mix_format.vim b/autoload/ale/fixers/mix_format.vim
index 905a6089..04866408 100644
--- a/autoload/ale/fixers/mix_format.vim
+++ b/autoload/ale/fixers/mix_format.vim
@@ -9,8 +9,7 @@ endfunction
function! ale#fixers#mix_format#Fix(buffer) abort
return {
- \ 'command': ale#handlers#elixir#GetExecutable(a:buffer)
- \ . ale#fixers#mix_format#GetExecutable(a:buffer)
+ \ 'command': ale#Escape(ale#fixers#mix_format#GetExecutable(a:buffer))
\ . ' format %t',
\ 'read_temporary_file': 1,
\}
diff --git a/autoload/ale/handlers/elixir.vim b/autoload/ale/handlers/elixir.vim
deleted file mode 100644
index be25d331..00000000
--- a/autoload/ale/handlers/elixir.vim
+++ /dev/null
@@ -1,5 +0,0 @@
-call ale#Set('elixir_executable', '')
-
-function! ale#handlers#elixir#GetExecutable(buffer) abort
- return ale#Var(a:buffer, 'elixir_executable')
-endfunction