summaryrefslogtreecommitdiff
path: root/ale_linters
diff options
context:
space:
mode:
authorw0rp <w0rp@users.noreply.github.com>2018-01-19 17:18:49 +0000
committerGitHub <noreply@github.com>2018-01-19 17:18:49 +0000
commit1d3b542031431d797c8d6a46569b885f8f2ae185 (patch)
treea013d5b5d4754d4ef9d3d90f8255ca2a28d8224e /ale_linters
parent8675bfc4ab28404fa0f40f6257a7894d3274756a (diff)
parent29acafdaf4f59861aeff64c5f56a584e40260c5e (diff)
downloadale-1d3b542031431d797c8d6a46569b885f8f2ae185.zip
Merge pull request #1266 from sharils/patch-1
Work around hot-reloading issue
Diffstat (limited to 'ale_linters')
-rw-r--r--ale_linters/elixir/credo.vim2
-rw-r--r--ale_linters/elixir/dogma.vim2
2 files changed, 2 insertions, 2 deletions
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',
\})