- Syntax highlighting
- Diagnostics
- Hover
- Completions
- Go-to-definition
- References
- Rename
- Signature help
- Formatting
- Document symbols
-
Install the Lisette binary:
cargo install lisette lis version # -> lisette 0.2.1 (go 1.25.10) -
Add to your
languages.tomlconfig:[language-server.lisette-lsp] command = "lis" args = ["lsp"] [[language]] name = "lisette" scope = "source.lisette" injection-regex = "lis|lisette" file-types = ["lis"] roots = ["lisette.toml"] auto-format = true comment-tokens = ["//", "///"] language-servers = ["lisette-lsp"] indent = { tab-width = 2, unit = " " } [[grammar]] name = "lisette" source = { git = "https://github.com/ivov/lisette", rev = "dd62a38f70bbde085d4f23557305d455299f4774", subpath = "editors/tree-sitter-lisette" }
-
Fetch and build the tree-sitter grammar:
hx --grammar fetch hx --grammar build
-
Copy the query files so Helix can use them for syntax highlighting:
mkdir -p ~/.config/helix/runtime/queries/lisette cp ~/.config/helix/runtime/grammars/sources/lisette/editors/tree-sitter-lisette/queries/* \ ~/.config/helix/runtime/queries/lisette/