sigildocs

(sigil lsp server)

(sigil lsp server) - LSP server loop and method dispatch.

Reads framed JSON-RPC messages from stdin, dispatches them to the appropriate handler, and writes framed responses to stdout. Logging goes through (sigil log) to stderr.

Exports

lsp-serverprocedure

Construct a lsp-server struct.

lsp-server?procedure

Test if a value is a lsp-server struct.

Get the name field of a lsp-server struct.

Get the version field of a lsp-server struct.

Get the docs field of a lsp-server struct.

Get the initialized field of a lsp-server struct.

Get the shutdown-requested field of a lsp-server struct.

Get the root-uri field of a lsp-server struct.

Set the docs field of a lsp-server struct.

Set the initialized field of a lsp-server struct.

Set the shutdown-requested field of a lsp-server struct.

Set the root-uri field of a lsp-server struct.

Run the LSP server, reading framed messages from stdin and writing framed responses to stdout. Logging is configured by the caller; (sigil log) by default writes to stderr.

(No description)