Skip to content

Repository files navigation

Lil' Wrapper

Lil' Wrapper is a Rust library that hard-wraps comments and prose to a configurable column. It is available as a Rust library, a native Language Server Protocol (LSP) server, and a Zed extension.

Documentation

Component Use it when you want to...
Core library Rewrap text from Rust code.
LSP server Integrate wrapping into an editor or LSP client.
Zed extension Configure and use Lil Wrapper in Zed.

Development

The workspace requires Rust 1.85 or newer. Run the core and LSP tests with:

cargo test --workspace
cargo clippy --workspace --all-targets -- -D warnings
cargo fmt --all -- --check

The complete compatibility suite also requires the .NET 8 SDK and Deno 2. Building the Zed extension requires the wasm32-wasip2 target:

rustup target add wasm32-wasip2
cargo check --package lil-wrapper-zed --target wasm32-wasip2

About

A library and Zed editor plugin for file-type-aware text wrapping

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages