No description
  • Tree-sitter Query 77%
  • Rust 23%
Find a file
Karl Wahlström a9506b8956 Rebuilt wasm
2026-07-20 14:08:40 +02:00
grammars Rebuilt wasm 2026-07-20 14:08:40 +02:00
languages/qtml Support QTML defaults blocks 2026-07-20 14:07:10 +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 Support QTML defaults blocks 2026-07-20 14:07:10 +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.