gruel_lsp/lib.rs
1//! Language Server Protocol implementation for Gruel (ADR-0091).
2//!
3//! This crate is the engine behind the `gruel lsp` subcommand. It depends on
4//! `gruel-compiler` and reuses the existing frontend pipeline; what we add
5//! on top is the LSP message pump (`tower-lsp`), incremental document state,
6//! and the mapping from Gruel `JsonDiagnostic` values to LSP types.
7
8pub mod analysis;
9pub mod code_actions;
10pub mod completion;
11pub mod diagnostics;
12pub mod document;
13pub mod goto;
14pub mod hover;
15pub mod inlay_hints;
16pub mod position;
17pub mod references;
18pub mod server;
19pub mod signature;
20pub mod workspace;
21pub mod workspace_symbols;
22
23pub use server::{Backend, run_server, run_stdio_server};