Skip to content

Serve Rootform language features over stdio.

Usage

rootform lsp [options]
SHELL

Options

Global options

FlagTypeDefaultDescription
-h, --helpboolfalseshow how to use rootform lsp
--colormodeautocolor human output: auto|always|never; default: auto
--no-pagerboolfalseprint a long report in full instead of opening it in less

Behavior

Run the Rootform language server over standard input and standard output. Protocol frames are the only standard output. Process diagnostics go to standard error; source diagnostics travel through LSP.

Exit status

StatusDescription
0the client completed shutdown and exit
2the command was used incorrectly
4the transport or the protocol lifecycle failed

Examples

rootform lsp
rootform lsp 2>rootform-lsp.log
rootform lsp <client.frames >server.frames
Shell

Editor clients

Connect rootform lsp from VS Code or Zed.