mirror of https://github.com/helix-editor/helix
add GNU assembler (gas) support #8291)
parent
19d44b6fde
commit
941dc6c614
@ -0,0 +1,21 @@
|
|||||||
|
(comment) @comment
|
||||||
|
(number) @constant.numeric
|
||||||
|
(directive_name) @keyword.directive
|
||||||
|
(symbol) @variable
|
||||||
|
(label) @function
|
||||||
|
(label)
|
||||||
|
(instruction_prefix) @keyword
|
||||||
|
(instruction_name) @function.special
|
||||||
|
(register) @constant.builtin
|
||||||
|
(string) @string
|
||||||
|
(char) @constant.character
|
||||||
|
(type) @type
|
||||||
|
(constant "$" @constant)
|
||||||
|
(operand_modifier) @attribute
|
||||||
|
|
||||||
|
(expression
|
||||||
|
["-" "+" "*" "/" "="] @operator)
|
||||||
|
|
||||||
|
["(" ")"] @punctuation.bracket
|
||||||
|
|
||||||
|
["," ":"] @punctuation.delimiter
|
@ -0,0 +1,2 @@
|
|||||||
|
((comment) @injection.content
|
||||||
|
(#set! injection.language "comment"))
|
@ -0,0 +1,2 @@
|
|||||||
|
(comment) @comment.inside
|
||||||
|
(comment)+ @comment.around
|
Loading…
Reference in New Issue