mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-24 13:01:28 +08:00
feat(erlang/dialyzer): add custom options passing
This commit is contained in:
@@ -25,6 +25,13 @@ Execute(The command should accept configured executable.):
|
||||
\ . ' -Wunderspecs'
|
||||
\ . ' %s'
|
||||
|
||||
Execute(The command should accept configured options.):
|
||||
let b:ale_erlang_dialyzer_options = '-r ' . expand('$HOME')
|
||||
AssertLinter 'dialyzer',
|
||||
\ ale#Escape('dialyzer')
|
||||
\ . ' -n --plt ' . ale#Escape(expand('$HOME/.dialyzer_plt'))
|
||||
\ . ' -r ' . expand('$HOME')
|
||||
|
||||
Execute(The command should accept configured PLT file.):
|
||||
let b:ale_erlang_dialyzer_plt_file = 'custom-plt'
|
||||
AssertLinter 'dialyzer',
|
||||
|
||||
Reference in New Issue
Block a user