summaryrefslogtreecommitdiff
path: root/src/main/lsp.c
AgeCommit message (Collapse)Author
13 daysUse bright for diagnostic fgAlbert Cervin
2025-11-21Add support for documentChanges in LSPAlbert Cervin
These should ideally be paired with setting the capability on initialize, but for now, the parsing support is there at least for LSP servers that ignore it (like pylsp).
2025-11-21Fix so more than one file gets error highlightsAlbert Cervin
The previous fix for that did not take multiple files into account.
2025-11-21Fix the yellow on yellow for warningsAlbert Cervin
Diagnostic highlight now sets the fg to white and the background to the appropriate color for the diagnostic severity. Before, we could end up with a yellow color for warning as background and a yellow as foreground for a function, which caused unreadable text. Also fix some more cases where re-render is needed.
2025-11-07Increase the number of pending requests for LSPAlbert Cervin
Also make it a bit more robust if we run out of slots.
2025-11-05Fix a crash when undoingAlbert Cervin
We were spawning too many completion requests as part of the text being changed.
2025-11-01More lsp supportAlbert Cervin
This makes the LSP support complete for now: - Completion - Diagnostics - Goto implementation/declaration - Rename - Documentation - Find references
2024-09-12WIP LSP clientAlbert Cervin
This contains the start of an LSP client. Nothing (except starting the LSP server) works at the moment and the feature is disabled by default.