mirror of
https://github.com/soconnor0919/nand2tetris-zed.git
synced 2025-12-15 16:44:43 -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:
10
languages/hdl/indents.scm
Normal file
10
languages/hdl/indents.scm
Normal file
@@ -0,0 +1,10 @@
|
||||
; HDL indentation rules
|
||||
|
||||
; Indent inside chip definition body
|
||||
(chip_body) @indent
|
||||
|
||||
; Indent inside chip definition
|
||||
(chip_definition) @indent
|
||||
|
||||
; Indent inside part connections
|
||||
(part) @indent
|
||||
Reference in New Issue
Block a user