-
released this
2026-08-26 11:06:51 -07:00 | 336 commits to master since this releaseThe protocol-compliance release: the server was audited line-by-line
against the LSP 3.18 specification (the full gap list is TODO.md §9),
and the three findings that matter most shipped in one round.Port commands now actually edit (workspace/applyEdit)
lucisv.addPort,lucisv.removePortandlucisv.propagatePortsinvoked
as commands did nothing in every stock client: the server returned the
WorkspaceEditas theexecuteCommandresult, which the protocol does
not define and whichvscode-languageclientand Neovim both drop. (The
code-action lightbulb path was never affected — those edits ride inline.)
The server now pushes the edit as aworkspace/applyEditrequest with a
label for the undo stack, answersnull, and reads the client's verdict:
a refusal becomes an error popup naming the command and the editor's own
reason. A client that never advertisedworkspace.applyEditkeeps the
old return-the-edit behavior — for that one it is the only thing that
could ever work.Pull diagnostics (LSP 3.17)
textDocument/diagnosticandworkspace/diagnosticare served, from the
same parse+lint pass the push model publishes — one computation, two
deliveries, proven byte-identical in tests. Reports carry aresultId
and answerunchangedwhen nothing that feeds them has moved, so a
client re-pulling on focus changes costs nothing. A client that pulls is
pushed nothing at all — never both models for one client. Clients that
don't advertise the capability keep today's push behavior untouched.
Workspace reports cover the open buffers, which is the only scope this
server has ever diagnosed.Expand selection (textDocument/selectionRange)
One keystroke grows the selection from the identifier through the
statement, the enclosingbegin/end, the process, the module, out to
the whole file. Chains are built from what the server already computes —
token spans, the tolerant parse's item/statement spans, and the
rainbow's own scope-pair matcher, which keeps expansion working in the
half-edited files where you actually reach for it. Every step strictly
contains the last; a sweep over all 860 corpus files (6,880 positions)
holds the invariant everywhere.Downloads