test(lsp): add hemplate highlighting fixture

Add repo-owned hemplate highlighting fixture and golden capture contract without editor packaging or a second parser.

req: diagnostics/004

req: diagnostics/008
This commit is contained in:
slhx agent
2026-06-26 00:20:11 +02:00
parent 34327d6b8f
commit 2e55406a24
5 changed files with 80 additions and 5 deletions
+4 -4
View File
@@ -1,7 +1,7 @@
---
id: SLICE-0011
type: slice
status: ready
status: done
parent: NS-0003
title: Add hemplate highlighting fixtures and query tests
refs:
@@ -26,8 +26,8 @@ Create repo-owned highlighting fixtures that prove documented hemplate syntax re
## Verification
- Preferred future command: a repo-owned tree-sitter/query fixture test, once the crate/tool location is chosen.
- Until then, manual proof must name the exact editor/query runner and fixture.
- `cargo test -p hemx-lsp`
- `workledger check`
## Non-goals
@@ -36,4 +36,4 @@ Create repo-owned highlighting fixtures that prove documented hemplate syntax re
## Evidence
The fixture list maps directly to the documented syntax surface.
Done at commit `34327d6` follow-up and verified with `cargo test -p hemx-lsp`: `docs/fixtures/hemplate-highlighting/hemplate.heml` covers the documented overlay token classes and `captures.tsv` records the golden capture names without requiring editor package publishing or a second parser.