Skip to content

OCaml#

Server#

For more information about the LSP server, check ocaml-lsp-server.

Installation#

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

Debugger: Not available#

Available configurations#

lsp-cut-signature#

Type: (choice (symbol :tag Default behaviour 'cut) (symbol :tag Display all the lines with spaces 'space))

Default: space

If non-nil, signatures returned on hover will not be split on newline.


lsp-ocaml-enclosing-type-verbosity#

Type: int

Default: 1

Number of expansions of aliases in answers.


lsp-ocaml-highlight-region-face#

Type: face

Default: ((t (:inherit region)))

Face used to highlight a region.


lsp-ocaml-lsp-server-command#

Type: (choice (string :tag Single string value) (repeat :tag List of string values string))

Default: (ocamllsp)

Command to start ocaml-lsp-server.


lsp-ocaml-markupkind#

Type: (choice (symbol :tag Markdown 'markdown) (symbol :tag Plain text 'plaintext))

Default: markdown

Preferred markup format.



Last update: April 14, 2025