2018-03-31 10:55:20 -04:00
|
|
|
===============================================================================
|
|
|
|
ALE Elixir Integration *ale-elixir-options*
|
|
|
|
|
|
|
|
|
|
|
|
===============================================================================
|
|
|
|
mix *ale-elixir-mix*
|
|
|
|
|
2020-12-04 16:15:32 -05:00
|
|
|
The `mix` linter is disabled by default, as it can be too expensive to run.
|
2018-12-17 06:28:27 -05:00
|
|
|
See `:help g:ale_linters`
|
|
|
|
|
|
|
|
|
2018-03-31 10:55:20 -04:00
|
|
|
g:ale_elixir_mix_options *g:ale_elixir_mix_options*
|
|
|
|
*b:ale_elixir_mix_options*
|
|
|
|
Type: |String|
|
|
|
|
Default: `'mix'`
|
|
|
|
|
|
|
|
|
|
|
|
This variable can be changed to specify the mix executable.
|
|
|
|
|
2022-08-08 09:45:56 -04:00
|
|
|
|
2018-03-31 10:55:20 -04:00
|
|
|
===============================================================================
|
|
|
|
mix_format *ale-elixir-mix-format*
|
|
|
|
|
|
|
|
g:ale_elixir_mix_format_options *g:ale_elixir_mix_format_options*
|
|
|
|
*b:ale_elixir_mix_format_options*
|
|
|
|
Type: |String|
|
|
|
|
Default: `''`
|
|
|
|
|
|
|
|
|
|
|
|
This variable can be changed to specify the mix options passed to the
|
|
|
|
mix_format fixer
|
|
|
|
|
2022-08-08 09:45:56 -04:00
|
|
|
|
2018-03-31 10:55:20 -04:00
|
|
|
===============================================================================
|
|
|
|
dialyxir *ale-elixir-dialyxir*
|
|
|
|
|
|
|
|
Dialyzer, a DIscrepancy AnaLYZer for ERlang programs.
|
|
|
|
http://erlang.org/doc/man/dialyzer.html
|
|
|
|
|
|
|
|
It can be used with elixir through dialyxir
|
|
|
|
https://github.com/jeremyjh/dialyxir
|
|
|
|
|
|
|
|
Options for dialyzer are not configurable by ale, but they are instead
|
|
|
|
configured on your project's `mix.exs`.
|
|
|
|
|
|
|
|
See https://github.com/jeremyjh/dialyxir#with-explaining-stuff for more
|
|
|
|
information.
|
|
|
|
|
2022-08-08 09:45:56 -04:00
|
|
|
|
2018-11-01 06:03:42 -04:00
|
|
|
===============================================================================
|
|
|
|
elixir-ls *ale-elixir-elixir-ls*
|
|
|
|
|
|
|
|
Elixir Language Server (https://github.com/JakeBecker/elixir-ls)
|
|
|
|
|
|
|
|
g:ale_elixir_elixir_ls_release *g:ale_elixir_elixir_ls_release*
|
|
|
|
*b:ale_elixir_elixir_ls_release*
|
|
|
|
Type: |String|
|
|
|
|
Default: `'elixir-ls'`
|
|
|
|
|
|
|
|
Location of the elixir-ls release directory. This directory must contain
|
|
|
|
the language server scripts (language_server.sh and language_server.bat).
|
|
|
|
|
2018-12-17 06:28:27 -05:00
|
|
|
g:ale_elixir_elixir_ls_config *g:ale_elixir_elixir_ls_config*
|
|
|
|
*b:ale_elixir_elixir_ls_config*
|
|
|
|
Type: |Dictionary|
|
|
|
|
Default: `{}`
|
|
|
|
|
|
|
|
Dictionary containing configuration settings that will be passed to the
|
|
|
|
language server. For example, to disable Dialyzer: >
|
|
|
|
{
|
|
|
|
\ 'elixirLS': {
|
|
|
|
\ 'dialyzerEnabled': v:false,
|
|
|
|
\ },
|
|
|
|
\ }
|
|
|
|
<
|
|
|
|
Consult the ElixirLS documentation for more information about settings.
|
2022-08-08 09:45:56 -04:00
|
|
|
|
|
|
|
|
2019-03-27 11:08:56 -04:00
|
|
|
===============================================================================
|
|
|
|
credo *ale-elixir-credo*
|
|
|
|
|
|
|
|
Credo (https://github.com/rrrene/credo)
|
|
|
|
|
|
|
|
g:ale_elixir_credo_strict *g:ale_elixir_credo_strict*
|
|
|
|
|
2022-08-08 09:45:56 -04:00
|
|
|
Type: |Integer|
|
|
|
|
Default: `0`
|
2019-03-27 11:08:56 -04:00
|
|
|
|
|
|
|
Tells credo to run in strict mode or suggest mode. Set variable to 1 to
|
|
|
|
enable --strict mode.
|
2018-12-17 06:28:27 -05:00
|
|
|
|
2021-05-05 04:25:00 -04:00
|
|
|
|
2022-08-08 09:45:56 -04:00
|
|
|
g:ale_elixir_credo_config_file *g:ale_elixir_credo_config_file*
|
|
|
|
|
|
|
|
Type: |String|
|
|
|
|
Default: `''`
|
2021-05-05 04:25:00 -04:00
|
|
|
|
|
|
|
Tells credo to use a custom configuration file.
|
|
|
|
|
2022-08-08 09:45:56 -04:00
|
|
|
|
|
|
|
===============================================================================
|
|
|
|
cspell *ale-elixir-cspell*
|
|
|
|
|
|
|
|
See |ale-cspell-options|
|
|
|
|
|
|
|
|
|
2024-01-07 10:14:20 -05:00
|
|
|
===============================================================================
|
|
|
|
lexical *ale-elixir-lexical*
|
|
|
|
|
|
|
|
Lexical (https://github.com/lexical-lsp/lexical)
|
|
|
|
|
|
|
|
g:ale_elixir_lexical_release *g:ale_elixir_lexical_release*
|
|
|
|
*b:ale_elixir_lexical_release*
|
|
|
|
Type: |String|
|
|
|
|
Default: `'lexical'`
|
|
|
|
|
|
|
|
Location of the lexical release directory. This directory must contain
|
|
|
|
the language server scripts (start_lexical.sh and start_lexical.bat).
|
|
|
|
|
|
|
|
For example, set release to: `/home/projects/lexical/_build/dev/rel/lexical`
|
|
|
|
|
|
|
|
There are currnetly no configuration options for lexical.
|
|
|
|
|
|
|
|
|
2018-03-31 10:55:20 -04:00
|
|
|
===============================================================================
|
|
|
|
vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl:
|