LSP server and emacs LSP client glue for eglot and lsp-mode #80

Open
pkulev wants to merge 3 commits from pkulev/sex:feature/lsp into main

3 Commits

Author SHA1 Message Date
Pavel Kulyov
e2f71d23a0 emacs: load the server beside sex-mode
All checks were successful
Sex CI / build-linux (pull_request) Successful in 5m54s
2026-11-15 00:06:41 +03:00
Pavel Kulyov
0aef571f68 serve the index over LSP
sex-lsp answers:
- hover,
- definition,
- completion,
- symbols,
- diagnostics.

--expand-lines and sex/expand return the C for a line
range. clangd is off unless --c-backend=clangd, and it is asked about
names the compiler never parsed.
2026-11-15 00:06:41 +03:00
Pavel Kulyov
7bbb8e19ac index a unit past its first bad form
Record plain declarations, with location and docstring, and keep going
when one toplevel form is wrong. sexc --check and --symbols print
that. Specs, realizations, and closure helpers stay out of the index
for future rework (@alex-eg).
2026-11-15 00:06:35 +03:00