Skip to main content

Module lsp

Module lsp 

Source
Expand description

Language Server Protocol implementation for rumdl

This module provides a Language Server Protocol (LSP) implementation for rumdl, enabling real-time markdown linting in editors and IDEs.

Following Ruff’s approach, this is built directly into the main rumdl binary and can be started with rumdl server.

Re-exports§

pub use server::RumdlLanguageServer;
pub use types::RumdlLspConfig;
pub use types::warning_to_code_actions;
pub use types::warning_to_diagnostic;

Modules§

index_worker
Background worker for workspace index management
server
Main Language Server Protocol server implementation for rumdl
types
LSP type definitions and utilities for rumdl

Functions§

start_server
Start the Language Server Protocol server This is the main entry point for rumdl server
start_tcp_server
Start the LSP server over TCP (useful for debugging)