Files
nand2tetris-zed/languages/compare-output/outline.scm
Sean O'Connor c231dbfd27 Fix HDL and Hack Assembly syntax highlighting and queries
- 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
2025-09-11 11:24:24 -04:00

14 lines
393 B
Scheme

; Compare/Output file outline queries
; Show header rows in the outline for navigation
(header_row
(header_cell (column_name) @name)) @item
(#set! item.kind "table")
; Show table structure - group data rows by sections
(table_row) @item
(#set! item.kind "row")
; No other special outline patterns needed for simple tabular data
; The header row provides the main navigation structure