mirror of
https://github.com/dense-analysis/ale.git
synced 2026-02-25 11:07:27 +08:00
Add support for Erlang dialyzer (#2509)
* Add support for Erlang dialyzer * Add an option to specify rebar3 profile In doing so, the use of the `**` wildcard becomes unnecessary.
This commit is contained in:
@@ -3,6 +3,35 @@ ALE Erlang Integration *ale-erlang-options*
|
||||
|
||||
|
||||
===============================================================================
|
||||
dialyzer *ale-erlang-dialyzer*
|
||||
|
||||
g:ale_erlang_dialyzer_executable *g:ale_erlang_dialyzer_executable*
|
||||
*b:ale_erlang_dialyzer_executable*
|
||||
Type: |String|
|
||||
Default: `'dialyzer'`
|
||||
|
||||
This variable can be changed to specify the dialyzer executable.
|
||||
|
||||
|
||||
g:ale_erlang_dialyzer_plt_file *g:ale_erlang_dialyzer_plt_file*
|
||||
*b:ale_erlang_dialyzer_plt_file*
|
||||
Type: |String|
|
||||
|
||||
This variable can be changed to specify the path to the PLT file. By
|
||||
default, it will search for the PLT file inside the `_build` directory. If
|
||||
there isn't one, it will fallback to the path `$REBAR_PLT_DIR/dialyzer/plt`.
|
||||
Otherwise, it will default to `$HOME/.dialyzer_plt`.
|
||||
|
||||
|
||||
g:ale_erlang_dialyzer_rebar3_profile *g:ale_erlang_dialyzer_rebar3_profile*
|
||||
*b:ale_erlang_dialyzer_rebar3_profile*
|
||||
Type: |String|
|
||||
Default: `'default'`
|
||||
|
||||
This variable can be changed to specify the profile that is used to
|
||||
run dialyzer with rebar3.
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
erlc *ale-erlang-erlc*
|
||||
|
||||
g:ale_erlang_erlc_options *g:ale_erlang_erlc_options*
|
||||
|
||||
@@ -1989,6 +1989,7 @@ documented in additional help files.
|
||||
elm-lsp...............................|ale-elm-elm-lsp|
|
||||
elm-make..............................|ale-elm-elm-make|
|
||||
erlang..................................|ale-erlang-options|
|
||||
dialyzer..............................|ale-erlang-dialyzer|
|
||||
erlc..................................|ale-erlang-erlc|
|
||||
syntaxerl.............................|ale-erlang-syntaxerl|
|
||||
eruby...................................|ale-eruby-options|
|
||||
|
||||
Reference in New Issue
Block a user