styx_lsp/
lib.rs

1#![doc = include_str!("../README.md")]
2//! Styx Language Server
3//!
4//! LSP server for the Styx configuration language, providing:
5//! - Semantic highlighting (schema-aware)
6//! - Diagnostics (parse errors, validation errors)
7//! - Completions (keys, values, tags from schema)
8//! - Hover information (type info from schema)
9//! - Schema suggestions for known file patterns
10
11pub mod cache;
12pub mod config;
13pub mod extensions;
14pub mod schema_hints;
15mod schema_validation;
16pub mod semantic_tokens;
17mod server;
18pub mod testing;
19
20pub use semantic_tokens::{HighlightSpan, TokenType, compute_highlight_spans};
21pub use server::{DocumentMap, DocumentState, run};