mirror of
https://github.com/soconnor0919/nand2tetris-zed.git
synced 2025-12-15 08:34:44 -05:00
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
This commit is contained in:
13
languages/compare-output/outline.scm
Normal file
13
languages/compare-output/outline.scm
Normal file
@@ -0,0 +1,13 @@
|
||||
; 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
|
||||
Reference in New Issue
Block a user