Lisette
Language support for Lisette
How to install
With Forge Super installed, the button above opens the app on this extension, where you press Install. Nothing is installed until you do.
You can also open the Extensions panel in the app and search for Lisette. The extension's id is lisette.
Don't have Forge Super yet? Download it here.
README
From the extension's repository, written by its authors and not by Mentenaz. See the source.
Zed extension for Lisette
Zed language support for Lisette.
Features
- Syntax highlighting
- Diagnostics
- Quick fixes (lint autofixes)
- Hover
- Completions
- Go-to-definition
- References
- Rename
- Signature help
- Formatting
- Document symbols
Installation
-
Install the Lisette binary:
cargo install lisette lis version # -> lisette 0.2.1 (go 1.25.10) -
Search for "Lisette" in Zed's extensions panel and click "Install".
Development
-
Install the WASM target:
rustup target add wasm32-wasip2 -
Build the Lisette binary:
just build -
Set the binary path at
~/.config/zed/settings.json{ "lsp": { "lisette-lsp": { "binary": { "path": "/path/to/lisette/target/release/lis", "arguments": ["lsp"] } } } } -
In
extension.toml, temporarily switch the grammar to your local repo, and setrevto a commit on your local branch:[grammars.lisette] repository = "file:///path/to/lisette/repo/root" rev = "..." -
In Zed, run
zed: install dev extensionand select theeditors/zeddir. -
Create a test project and open a
.lisfile.
To iterate:
- Make your changes and run
just build - If you changed
editors/tree-sitter-lisette/, updaterevinextension.tomland reinstall the dev extension. - Run
editor: restart language server
Publishing
First time
- Fork
zed-industries/extensions - Add this repo as a Git submodule and add an entry to
extensions.toml - Open a PR.
Updating
Run just zed-release from the repo root to automate steps 1 and 2. Then review the diff and continue from step 3.
-
Bump
versioninextension.tomlandCargo.toml, then runcargo buildineditors/zedso the matchingzed_lisetteversion inCargo.lockupdates too. -
Find the commit SHA that Zed should build the tree-sitter grammar from and set it in
grammars.lisette.revinextension.toml.git rev-parse HEAD # e.g. 5a8800385fdd4e9fe02b758d9d6298b18fd92b72Then set it in
extension.toml:[grammars.lisette] rev = "5a8800385fdd4e9fe02b758d9d6298b18fd92b72" -
Commit, push, open a PR in this repo with the changes above, and merge it. Note its merge commit SHA.
-
In your fork of
zed-industries/extensions, point theextensions/lisettesubmodule at that merge commit, bumpversionunder[lisette]in theirextensions.tomlto match, and open a PR.