Skip to content

Ada#

Server#

For more information about the LSP server, check ada_language_server.

Installation#

This Server supports automatic install. Install this language server with M-xlsp-install-serverRETada-lsRET.

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

Debugger: Yes (gdb)#

Available configurations#

lsp-ada-alire-executable#

Type: string

Default: alr

The alire executable to run when a project is detected.


lsp-ada-als-executable#

Type: file

Default: ada_language_server

Command to start the Ada language server.


lsp-ada-enable-diagnostics#

Type: boolean

Default: t

A boolean to disable diagnostics. Defaults to true.


lsp-ada-option-charset#

Type: string

Default: UTF-8

The charset to use by the Ada Language server. Defaults to UTF-8.


lsp-ada-project-file#

Type: string

Default: default.gpr

Set the project file full path to configure the language server with. The ~ prefix (for the user home directory) is supported. See https://github.com/AdaCore/ada_language_server for a per-project configuration example.


lsp-ada-semantic-token-face-overrides#

Type: (alist :key-type string :value-type (choice (face :tag Face) (const :tag No Face nil)))

Default: ((namespace . default) (modifier . lsp-face-semhl-keyword))

Semantic token face overrides to be applied.


lsp-ada-semantic-token-modifier-face-overrides#

Type: (alist :key-type string :value-type (choice (face :tag Face) (const :tag No Face nil)))

Default: ((declaration) (definition) (implementation) (static) (modification) (documentation) (defaultLibrary))

Semantic token modifier face overrides to be applied.



Last update: April 28, 2024