No description
  • Tree-sitter Query 74.4%
  • Rust 25.6%
Find a file
2026-07-15 20:09:17 +02:00
grammars Updated tree sitter and language. 2026-07-15 20:09:17 +02:00
languages/qtml Updated tree sitter and language. 2026-07-15 20:09:17 +02:00
src First fat commit. 2026-07-14 13:47:30 +02:00
.gitignore Second big commit. 2026-07-14 14:03:14 +02:00
Cargo.lock First fat commit. 2026-07-14 13:47:30 +02:00
Cargo.toml First fat commit. 2026-07-14 13:47:30 +02:00
extension.toml Added highligting for utility selector. 2026-07-15 15:27:57 +02:00
extension.wasm Second big commit. 2026-07-14 14:03:14 +02:00
LICENSE First fat commit. 2026-07-14 13:47:30 +02:00
README.md Updated tree sitter and language. 2026-07-15 20:09:17 +02:00

QTML for Zed

QTML language support for Zed. It provides Tree-sitter syntax highlighting, bracket matching, indentation, syntax diagnostics, style-document diagnostics, document formatting, and LSP completions.

Completions include built-in and imported components, properties, state blocks, and tokens from directly imported modules (for example, theme.surface after import "styles/theme.qtml" as theme). The extension does not currently provide hover information, navigation, or diagnostics across imported files.

Development setup

Install the QTML language server from a local QTML checkout:

cd <path-to-qtml>
cargo install --path qtml_lsp

Then install this repository as a development extension in Zed. The extension launches qtml_lsp with no arguments and resolves it from your PATH.

If Zed cannot find the server, run the installation command above from the QTML checkout and restart the language server.

Notes

Tree-sitter remains responsible for syntax highlighting. The language server provides completions, diagnostics, and formatting.