Add @packed to hare highlighter
ref: https://todo.sr.ht/~sircmpwn/hare/783
This commit is contained in:
parent
938be7a7b0
commit
8c4b591a9e
|
@ -51,7 +51,7 @@ provide-module hare %§
|
|||
add-highlighter shared/hare/code/ regex "\b([0-9a-zA-Z_]*)\h*\(" 1:function
|
||||
|
||||
# attributes
|
||||
add-highlighter shared/hare/code/ regex "@(offset|init|fini|test|noreturn|symbol)\b" 0:attribute
|
||||
add-highlighter shared/hare/code/ regex "@(packed|offset|init|fini|test|noreturn|symbol)\b" 0:attribute
|
||||
|
||||
# declarations
|
||||
add-highlighter shared/hare/code/ regex "\b(let|export|const)\b" 0:meta
|
||||
|
|
Loading…
Reference in New Issue
Block a user