Skip to content

Erlang#

Server#

For more information about the LSP server, check elp.

Installation#

For more instructions on how to install manually, check here.

Debugger: Not available#

Available configurations#

lsp-elp-buck-query-use-bxl-enable#

Type: boolean

Default: nil

Use BXL to query for buck project model.


lsp-elp-diagnostics-disabled#

Type: lsp-string-vector

Default: nil

List of ELP diagnostics to disable.


lsp-elp-diagnostics-enable-experimental#

Type: boolean

Default: nil

Whether to show experimental ELP diagnostics that might have more false positives than usual.


lsp-elp-diagnostics-enable-otp#

Type: boolean

Default: nil

Whether to report diagnostics for OTP files.


lsp-elp-diagnostics-on-save-enable#

Type: boolean

Default: nil

Update native diagnostics only when the file is saved.


lsp-elp-eqwalizer-all#

Type: boolean

Default: nil

Whether to report Eqwalizer diagnostics for the whole project and not only for opened files.


lsp-elp-eqwalizer-chunk-size#

Type: number

Default: 100

Chunk size to use for project-wide eqwalization.


lsp-elp-eqwalizer-max-tasks#

Type: number

Default: 32

Maximum number of tasks to run in parallel for project-wide eqwalization.


lsp-elp-highlight-dynamic-enable#

Type: boolean

Default: nil

If enabled, highlight variables with type dynamic() when Eqwalizer results are available.


Type: boolean

Default: nil

Whether to show Hover Actions of type docs'. Only applies when#elp.hoverActions.enable#` is set.


lsp-elp-hover-actions-enable#

Type: boolean

Default: nil

Whether to show Hover Actions.


lsp-elp-inlay-hints-parameter-hints-enable#

Type: boolean

Default: t

Whether to show function parameter name inlay hints at the call site.


lsp-elp-lens-debug-enable#

Type: boolean

Default: nil

Whether to show the Debug lenses. Only applies when #elp.lens.enable# is set.


lsp-elp-lens-enable#

Type: boolean

Default: nil

Whether to show Code Lenses in Erlang files.


Type: boolean

Default: nil

Whether to show the Link lenses. Only applies when #elp.lens.enable# is set.


lsp-elp-lens-run-coverage-enable#

Type: boolean

Default: nil

Display code coverage information when running tests via the Code Lenses. Only applies when #elp.lens.enabled and #elp.lens.run.enable# are set.


lsp-elp-lens-run-enable#

Type: boolean

Default: nil

Whether to show the Run lenses. Only applies when #elp.lens.enable# is set.


lsp-elp-lens-run-interactive-enable#

Type: boolean

Default: nil

Whether to show the Run Interactive lenses. Only applies when #elp.lens.enable# is set.


lsp-elp-log#

Type: string

Default: error

Configure LSP-based logging using env_logger syntax.


lsp-elp-signature-help-enable#

Type: boolean

Default: t

Whether to show Signature Help.


lsp-elp-types-on-hover-enable#

Type: boolean

Default: nil

Display types when hovering over expressions.


lsp-erlang-elp-download-url#

Type: string

Default: https://github.com/WhatsApp/erlang-language-platform/releases/latest/download/elp-linux-x86_64-unknown-linux-gnu-otp-26.tar.gz

Automatic download url for erlang-language-platform.


lsp-erlang-elp-server-command#

Type: (repeat string)

Default: (elp server)

Command to start erlang-language-platform.


lsp-erlang-elp-store-path#

Type: file

Default: ~/.emacs.d/.cache/lsp/erlang/elp

The path to the file in which `elp' will be stored.


lsp-erlang-elp-types-on-hover#

Type: boolean

Default: t

Show eqWAlizer types on hover.



Last update: February 17, 2025