(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-serverprocedureConstruct a lsp-server struct.
lsp-server?procedureTest if a value is a lsp-server struct.
lsp-server-nameprocedureGet the name field of a lsp-server struct.
lsp-server-versionprocedureGet the version field of a lsp-server struct.
lsp-server-docsprocedureGet the docs field of a lsp-server struct.
lsp-server-initializedprocedureGet the initialized field of a lsp-server struct.
lsp-server-shutdown-requestedprocedureGet the shutdown-requested field of a lsp-server struct.
lsp-server-root-uriprocedureGet the root-uri field of a lsp-server struct.
set-lsp-server-docs!procedureSet the docs field of a lsp-server struct.
set-lsp-server-initialized!procedureSet the initialized field of a lsp-server struct.
set-lsp-server-shutdown-requested!procedureSet the shutdown-requested field of a lsp-server struct.
set-lsp-server-root-uri!procedureSet the root-uri field of a lsp-server struct.
lsp-server-runprocedureRun 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.
handle-messagevariable(No description)