summaryrefslogtreecommitdiff
path: root/ale_linters/erlang
diff options
context:
space:
mode:
authorPierre-Nicolas Clauss <pinicarus@protonmail.com>2021-01-17 14:10:11 +0100
committerPierre-Nicolas Clauss <pinicarus@protonmail.com>2021-01-23 19:07:26 +0100
commit105bc5569550925af3b5f679145e1a13e0840344 (patch)
treeca0c72dddf63aadbb5ca07016bb2396169c40da0 /ale_linters/erlang
parent0ac7595fe97607ae99757787eba19cf0870be00d (diff)
downloadale-105bc5569550925af3b5f679145e1a13e0840344.zip
refactor(erlang/dialyzer): remove file placeholder from options
Signed-off-by: Pierre-Nicolas Clauss <pinicarus@protonmail.com>
Diffstat (limited to 'ale_linters/erlang')
-rw-r--r--ale_linters/erlang/dialyzer.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/ale_linters/erlang/dialyzer.vim b/ale_linters/erlang/dialyzer.vim
index 41898d9c..a97c9520 100644
--- a/ale_linters/erlang/dialyzer.vim
+++ b/ale_linters/erlang/dialyzer.vim
@@ -7,8 +7,7 @@ let g:ale_erlang_dialyzer_options =
\ get(g:, 'ale_erlang_dialyzer_options', '-Wunmatched_returns'
\ . ' -Werror_handling'
\ . ' -Wrace_conditions'
-\ . ' -Wunderspecs'
-\ . ' %s')
+\ . ' -Wunderspecs')
let g:ale_erlang_dialyzer_plt_file =
\ get(g:, 'ale_erlang_dialyzer_plt_file', '')
let g:ale_erlang_dialyzer_rebar3_profile =
@@ -59,6 +58,7 @@ function! ale_linters#erlang#dialyzer#GetCommand(buffer) abort
\ . ' -n'
\ . ' --plt ' . ale#Escape(ale_linters#erlang#dialyzer#GetPlt(a:buffer))
\ . ' ' . l:options
+ \ . ' %s'
return l:command
endfunction