diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-05 19:36:52 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-05 22:03:21 -0300 |
| commit | 69e809f64a30b09d9bd5ab56a3a80e94fc3f99c3 (patch) | |
| tree | 24d122a36d501b0f39cf7ff2e2aa412772054c33 /src/lsp/lsp.zig | |
| parent | 8fe1cbd5ba5792b71f4a1b9be6f3e8df591ec52b (diff) | |
| download | pardes-69e809f64a30b09d9bd5ab56a3a80e94fc3f99c3.tar.gz pardes-69e809f64a30b09d9bd5ab56a3a80e94fc3f99c3.zip | |
split pardes.zig by noun, lsp/Ask: the core's side of a question to the language servers moves into src/lsp/Ask.zig: lspRequest, lspResponse and what an answer does (LspEdit, parseLspEdits, decodePct, mapLspEditOffset, applyLspEdits, lspWord); the session keeps p.lspRequest as a declaration alias (every language word, macOS and the tests call it), lsp.zig names the file (pardes.lsp.Ask, for test/output.zig), and the 9P tests in ninep/ctl.zig call Ask.lspResponse; the wait's fields stay the session's until #38; tests moved with them, by name: Lspwhy after a Hover asks to explain that hover, in its file at its place, run from any pane; Def and Refs are a speaking file's tag words; gd, gr and a 2-1 chord all run them; Callstack always opens and focuses its own pane, reusing it for another symbol; Callers with one answer jumps to it and says where, in a msg; a Rename the language server finds nothing for says so, and changes nothing; LSP failure clears only its matching wait without completion indentation; a pure move, no field touched, a dump and the wire as they were; gates: tui core-test 960/960, behaviour-test 238/238, pane-test 171/172 (1 skipped), gui unit-test 1518/1519 (1 skipped)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'src/lsp/lsp.zig')
| -rw-r--r-- | src/lsp/lsp.zig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lsp/lsp.zig b/src/lsp/lsp.zig index e307a40d..eefa27c9 100644 --- a/src/lsp/lsp.zig +++ b/src/lsp/lsp.zig @@ -1,5 +1,8 @@ const std = @import("std"); +/// The core's side of a question to the servers (Ask.zig). +pub const Ask = @import("Ask.zig"); + pub const Kind = enum { definition, declaration, |
