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:
2025-09-11 11:24:24 -04:00
commit c231dbfd27
133 changed files with 2792 additions and 0 deletions

14
languages/vm/indents.scm Normal file
View File

@@ -0,0 +1,14 @@
; VM language indentation rules
; No special indentation rules needed for VM language
; since it's a flat, line-based language with simple command structure
; All commands should be at the same indentation level
; Optional: indent commands inside function bodies for readability
; but this is not required by the VM specification
; Function declarations can be at base level
; with their contents optionally indented
(function_declaration) @indent
; No other special indentation patterns needed