mdwright-lsp 0.1.0

Language Server Protocol delivery for mdwright
Documentation

mdwright-lsp

docs.rs

Language Server Protocol delivery for mdwright.

A tower-lsp server over stdio that exposes mdwright's lint diagnostics and formatter to any LSP-aware editor. Diagnostics are debounced (~300 ms); formatting requires UTF-8 position encoding. The server is normally launched through the mdwright lsp subcommand, which is what editor recipes invoke.

The diagnostic and formatting logic itself lives in mdwright-lint and mdwright-format; this crate is the protocol shell.

Status

Pre-1.0. Public items are whatever lib.rs re-exports; breaking changes ship without deprecation warnings.

Use it

Run the server through the binary:

mdwright lsp

Embed it directly:

[dependencies]
mdwright-lsp = "0.1"
use mdwright_lsp::serve;

See also

License

Licensed under MIT or Apache-2.0, at your option.