From 105bc5569550925af3b5f679145e1a13e0840344 Mon Sep 17 00:00:00 2001 From: Pierre-Nicolas Clauss Date: Sun, 17 Jan 2021 14:10:11 +0100 Subject: refactor(erlang/dialyzer): remove file placeholder from options Signed-off-by: Pierre-Nicolas Clauss --- ale_linters/erlang/dialyzer.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ale_linters/erlang/dialyzer.vim') 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 -- cgit v1.2.3