Expand description
LSP client for hjkl. See module docs.
Re-exports§
pub use config::LspConfig;pub use config::ServerConfig;pub use encoding::PositionEncoding;pub use event::LspCommand;pub use event::LspEvent;pub use event::RpcError;pub use event::ServerKey;pub use event::TextChange;
Modules§
- codec
- JSON-RPC framing:
Content-Length: N\r\n\r\n<payload>over byte streams. - config
- LSP configuration types.
- encoding
- Position-encoding negotiation (LSP
general.positionEncodings). - event
- Cross-thread message types for the LSP subsystem.
- params
- Builders for the
textDocument/*notificationparamsobjects. - testing
- Test helpers exposed for integration tests in
tests/. - uri
- Path ↔
file://URL helpers. - workspace
- Workspace root detection via marker files/directories.
Structs§
- LspManager
- Owned handle to the background LSP thread and its channels.
- Server
- Wraps an active language-server child process.