Elixir#
Server#
For more information about the LSP server, check elixir-lsp/elixir-ls.
Installation#
For more instructions on how to install manually, check here.
Debugger: Yes#
Available configurations#
lsp-elixir-dialyzer-enabled
#
Type: boolean
Default: t
Run ElixirLS`s rapid Dialyzer when code is saved.
lsp-elixir-dialyzer-format
#
Type: string
Default: dialyxir_long
Formatter to use for Dialyzer warnings.
lsp-elixir-dialyzer-warn-opts
#
Type: (repeat string)
Default: nil
Dialyzer options to enable or disable warnings.
See Dialyzer`s documentation for options. Note that the "race_conditions" option is unsupported
lsp-elixir-enable-test-lenses
#
Type: boolean
Default: t
Suggest Tests.
lsp-elixir-fetch-deps
#
Type: boolean
Default: nil
Automatically fetch project dependencies when compiling.
lsp-elixir-local-server-command
#
Type: (repeat string)
Default: /home/runner/.emacs.d/.cache/lsp/elixir-ls/language_server.sh
Command to start local elixir-ls binary.
lsp-elixir-ls-download-url
#
Type: string
Default: https://github.com/elixir-lsp/elixir-ls/releases/download/v0.22.0/elixir-ls-v0.22.0.zip
Automatic download url for elixir-ls.
lsp-elixir-ls-version
#
Type: string
Default: v0.22.0
Elixir-Ls version to download.
It has to be set before lsp-elixir.el
is loaded and it has to
be available here: https://github.com/elixir-lsp/elixir-ls/releases/
lsp-elixir-mix-env
#
Type: string
Default: test
Mix environment to use for compilation.
lsp-elixir-mix-target
#
Type: string
Default: nil
Mix target to use for compilation (requires Elixir >= 1.8).
lsp-elixir-project-dir
#
Type: string
Default: nil
Subdirectory containing Mix project if not in the project root.
If value is ""
then defaults to the workspace rootUri.
lsp-elixir-server-command
#
Type: (repeat string)
Default: (language_server.sh)
Command to start elixir-ls.
Leave as default to let executable-find
search for it.
lsp-elixir-signature-after-complete
#
Type: boolean
Default: t
Show signature help after confirming autocomplete.
lsp-elixir-suggest-specs
#
Type: boolean
Default: t
Suggest @spec annotations inline using Dialyzer`s inferred success typings. This requires Dialyzer.