2017-03-28 22:25:44 +00:00
|
|
|
===============================================================================
|
|
|
|
ALE Erlang Integration *ale-erlang-options*
|
|
|
|
|
|
|
|
|
2017-07-08 13:17:26 +00:00
|
|
|
===============================================================================
|
2019-05-19 20:16:17 +00:00
|
|
|
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.
|
|
|
|
|
|
|
|
|
2020-09-30 20:44:19 +00:00
|
|
|
g:ale_erlang_dialyzer_options *g:ale_erlang_dialyzer_options*
|
|
|
|
*b:ale_erlang_dialyzer_options*
|
|
|
|
Type: |String|
|
2021-01-17 13:10:11 +00:00
|
|
|
Default: `'-Wunmatched_returns -Werror_handling -Wrace_conditions -Wunderspec'`
|
2020-09-30 20:44:19 +00:00
|
|
|
|
2020-10-01 17:20:31 +00:00
|
|
|
This variable can be changed to specify the options to pass to the dialyzer
|
2021-01-17 13:10:11 +00:00
|
|
|
executable.
|
2020-09-30 20:44:19 +00:00
|
|
|
|
2019-05-19 20:16:17 +00:00
|
|
|
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.
|
|
|
|
|
2019-09-01 14:36:40 +00:00
|
|
|
|
|
|
|
-------------------------------------------------------------------------------
|
|
|
|
elvis *ale-erlang-elvis*
|
|
|
|
|
|
|
|
g:ale_erlang_elvis_executable *g:ale_erlang_elvis_executable*
|
|
|
|
*b:ale_erlang_elvis_executable*
|
|
|
|
Type: |String|
|
|
|
|
Default: `'elvis'`
|
|
|
|
|
|
|
|
This variable can be changed to specify the elvis executable.
|
|
|
|
|
|
|
|
|
2022-10-29 11:58:30 +00:00
|
|
|
-------------------------------------------------------------------------------
|
|
|
|
erlang_ls *ale-erlang-erlang_ls*
|
|
|
|
|
|
|
|
g:ale_erlang_erlang_ls_executable *g:ale_erlang_erlang_ls_executable*
|
|
|
|
*b:ale_erlang_erlang_ls_executable*
|
|
|
|
Type: |String|
|
|
|
|
Default: `'erlang_ls'`
|
|
|
|
|
|
|
|
This variable can be changed to specify the erlang_ls executable.
|
|
|
|
|
|
|
|
g:ale_erlang_erlang_ls_log_dir *g:ale_erlang_erlang_ls_log_dir*
|
|
|
|
*b:ale_erlang_erlang_ls_log_dir*
|
|
|
|
Type: |String|
|
|
|
|
Default: `''`
|
|
|
|
|
|
|
|
If set this variable overrides default directory where logs will be written.
|
|
|
|
|
|
|
|
g:ale_erlang_erlang_ls_log_level *g:ale_erlang_erlang_ls_log_level*
|
|
|
|
*b:ale_erlang_erlang_ls_log_level*
|
|
|
|
Type: |String|
|
|
|
|
Default: `'info'`
|
|
|
|
|
|
|
|
This variable can be changed to specify log level.
|
|
|
|
|
|
|
|
|
2019-05-19 20:16:17 +00:00
|
|
|
-------------------------------------------------------------------------------
|
2017-03-28 22:25:44 +00:00
|
|
|
erlc *ale-erlang-erlc*
|
|
|
|
|
2020-10-28 10:48:57 +00:00
|
|
|
g:ale_erlang_erlc_executable *g:ale_erlang_erlc_executable*
|
|
|
|
*b:ale_erlang_erlc_executable*
|
|
|
|
Type: |String|
|
|
|
|
Default: `'erlc'`
|
|
|
|
|
|
|
|
This variable can be changed to specify the erlc executable.
|
|
|
|
|
|
|
|
|
2017-03-28 22:25:44 +00:00
|
|
|
g:ale_erlang_erlc_options *g:ale_erlang_erlc_options*
|
2017-04-27 21:04:34 +00:00
|
|
|
*b:ale_erlang_erlc_options*
|
2017-03-28 22:25:44 +00:00
|
|
|
Type: |String|
|
2017-04-27 21:04:34 +00:00
|
|
|
Default: `''`
|
2017-03-28 22:25:44 +00:00
|
|
|
|
|
|
|
This variable controls additional parameters passed to `erlc`, such as `-I`
|
|
|
|
or `-pa`.
|
|
|
|
|
|
|
|
|
2021-02-28 13:31:44 +00:00
|
|
|
-------------------------------------------------------------------------------
|
|
|
|
erlfmt *ale-erlang-erlfmt*
|
|
|
|
|
|
|
|
g:ale_erlang_erlfmt_executable *g:ale_erlang_erlfmt_executable*
|
|
|
|
*b:ale_erlang_erlfmt_executable*
|
|
|
|
Type: |String|
|
|
|
|
Default: `'erlfmt'`
|
|
|
|
|
|
|
|
This variable can be changed to specify the erlfmt executable.
|
|
|
|
|
|
|
|
|
|
|
|
g:ale_erlang_erlfmt_options *g:ale_erlang_erlfmt_options*
|
|
|
|
*b:ale_erlang_erlfmt_options*
|
|
|
|
Type: |String|
|
|
|
|
Default: `''`
|
|
|
|
|
|
|
|
This variable controls additional parameters passed to `erlfmt`, such as
|
|
|
|
`--insert-pragma` or `--print-width`.
|
|
|
|
|
|
|
|
|
2017-07-16 11:35:43 +00:00
|
|
|
-------------------------------------------------------------------------------
|
|
|
|
syntaxerl *ale-erlang-syntaxerl*
|
|
|
|
|
|
|
|
g:ale_erlang_syntaxerl_executable *g:ale_erlang_syntaxerl_executable*
|
|
|
|
*b:ale_erlang_syntaxerl_executable*
|
|
|
|
Type: |String|
|
|
|
|
Default: `'syntaxerl'`
|
|
|
|
|
|
|
|
This variable can be changed to specify the syntaxerl executable.
|
|
|
|
|
|
|
|
|
2017-07-08 13:17:26 +00:00
|
|
|
===============================================================================
|
2017-03-28 22:25:44 +00:00
|
|
|
vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl:
|