From 29acafdaf4f59861aeff64c5f56a584e40260c5e Mon Sep 17 00:00:00 2001 From: sharils Date: Tue, 26 Dec 2017 22:13:05 +0800 Subject: Work around hot-reloading issue See https://github.com/phoenixframework/phoenix/issues/1165 for more detail --- ale_linters/elixir/credo.vim | 2 +- ale_linters/elixir/dogma.vim | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'ale_linters') diff --git a/ale_linters/elixir/credo.vim b/ale_linters/elixir/credo.vim index 3699dd23..af2ff48a 100644 --- a/ale_linters/elixir/credo.vim +++ b/ale_linters/elixir/credo.vim @@ -32,6 +32,6 @@ endfunction call ale#linter#Define('elixir', { \ 'name': 'credo', \ 'executable': 'mix', -\ 'command': 'mix credo suggest --format=flycheck --read-from-stdin %s', +\ 'command': 'mix help credo && mix credo suggest --format=flycheck --read-from-stdin %s', \ 'callback': 'ale_linters#elixir#credo#Handle', \}) diff --git a/ale_linters/elixir/dogma.vim b/ale_linters/elixir/dogma.vim index b4f32b04..71cf4f4c 100644 --- a/ale_linters/elixir/dogma.vim +++ b/ale_linters/elixir/dogma.vim @@ -32,7 +32,7 @@ endfunction call ale#linter#Define('elixir', { \ 'name': 'dogma', \ 'executable': 'mix', -\ 'command': 'mix dogma %s --format=flycheck', +\ 'command': 'mix help dogma && mix dogma %s --format=flycheck', \ 'lint_file': 1, \ 'callback': 'ale_linters#elixir#dogma#Handle', \}) -- cgit v1.2.3