//! Language Server Protocol (LSP) implementation for Wasot.
//!
//! This module provides LSP server functionality including:
//! - Document indexing and tracking
//! - Go-to-definition for links
//! - Hover information
//!
//! ## Usage
//!
//! The LSP server can be started via the CLI:
//! ```bash
//! wasot lsp
//! ```

mod document;
mod server;

pub use document::{
    DocumentIndex, IndexedId, IndexedLink, LinkTargetType, Position, Range, ResolvedTarget,
};
pub use server::{start_lsp_server, WasotLanguageServer};
