Skip to content

PureScript#

Server#

For more information about the LSP server, check purescript-language-server.

Installation#

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

npm i -g purescript-language-server

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

Debugger: Not available#

Available configurations#

lsp-purescript-add-npm-path#

Type: boolean

Default: nil

Whether to add the local npm bin directory to the PATH.


lsp-purescript-add-spago-sources#

Type: boolean

Default: t

Whether to add spago sources to the globs. Passed to the IDE server for source locations.


lsp-purescript-formatter#

Type: (choice (:tag none purty purs-tidy pose))

Default: purty

Tool to use to for formatting. Must be installed and on PATH (or npm installed with addNpmPath set)


lsp-purescript-server-args#

Type: (repeat string)

Default: (--stdio)

Arguments to pass to the server.


lsp-purescript-server-executable#

Type: string

Default: nil

Path to server executable.



Last update: December 2, 2024