mirror of
https://github.com/soconnor0919/nand2tetris-zed.git
synced 2025-12-15 16:44:43 -05:00
- Fixed HDL highlights query syntax error with #match? predicate - Replaced #match? with #any-of? for exact string matching - Fixed Hack Assembly outline query invalid field name - Improved HDL syntax highlighting with comprehensive patterns - Added HDL bracket matching for all syntax types - Fixed XML scope mismatch from text.xml to source.xml - Enhanced outline queries for better code navigation
16 lines
324 B
Scheme
16 lines
324 B
Scheme
; Test script indentation rules
|
|
|
|
; Indent content inside repeat blocks
|
|
(repeat_command
|
|
"{" @indent) @container
|
|
|
|
; Indent content inside while blocks
|
|
(while_command
|
|
"{" @indent) @container
|
|
|
|
; Dedent closing braces
|
|
"}" @dedent
|
|
|
|
; No other special indentation rules needed
|
|
; Most test script commands are at the same level
|