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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user