feat(asm): update queries from upstream (#6505)

adds support for TC assembly
This commit is contained in:
Silas Groh 2024-04-25 14:49:58 +08:00 committed by GitHub
parent e245f09197
commit 876111c8df
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,6 +1,9 @@
; General
(label
(ident) @label)
[
(ident)
(word)
] @label)
(reg) @variable.builtin
@ -10,6 +13,9 @@
(instruction
kind: (_) @function.builtin)
(const
name: (word) @constant)
; Comments
[
(line_comment)
@ -31,6 +37,8 @@
"qword"
"ptr"
"rel"
"label"
"const"
] @keyword
; Operators & Punctuation
@ -38,6 +46,11 @@
"+"
"-"
"*"
"/"
"%"
"|"
"^"
"&"
] @operator
[