AutoYADM commit: 2025-02-25 19:00:11
This commit is contained in:
parent
8c6e1b233e
commit
ef03780dd5
1 changed files with 78 additions and 0 deletions
78
.config/helix/runtime/queries/devicetree/highlights.scm
Normal file
78
.config/helix/runtime/queries/devicetree/highlights.scm
Normal file
|
@ -0,0 +1,78 @@
|
||||||
|
[
|
||||||
|
"/delete-node/"
|
||||||
|
"/delete-property/"
|
||||||
|
"/dts-v1/"
|
||||||
|
"/incbin/"
|
||||||
|
"/include/"
|
||||||
|
"/memreserve/"
|
||||||
|
"/omit-if-no-ref/"
|
||||||
|
"#define"
|
||||||
|
"#undef"
|
||||||
|
"#include"
|
||||||
|
"#if"
|
||||||
|
"#elif"
|
||||||
|
"#else"
|
||||||
|
"#endif"
|
||||||
|
"#ifdef"
|
||||||
|
"#ifndef"
|
||||||
|
] @keyword
|
||||||
|
|
||||||
|
[
|
||||||
|
"!"
|
||||||
|
"~"
|
||||||
|
"-"
|
||||||
|
"+"
|
||||||
|
"*"
|
||||||
|
"/"
|
||||||
|
"%"
|
||||||
|
"||"
|
||||||
|
"&&"
|
||||||
|
"|"
|
||||||
|
"^"
|
||||||
|
"&"
|
||||||
|
"=="
|
||||||
|
"!="
|
||||||
|
">"
|
||||||
|
">="
|
||||||
|
"<="
|
||||||
|
">"
|
||||||
|
"<<"
|
||||||
|
">>"
|
||||||
|
] @operator
|
||||||
|
|
||||||
|
[
|
||||||
|
","
|
||||||
|
";"
|
||||||
|
] @punctuation.delimiter
|
||||||
|
|
||||||
|
[
|
||||||
|
"("
|
||||||
|
")"
|
||||||
|
"{"
|
||||||
|
"}"
|
||||||
|
"<"
|
||||||
|
">"
|
||||||
|
] @punctuation.bracket
|
||||||
|
|
||||||
|
(call_expression
|
||||||
|
function: (identifier) @function)
|
||||||
|
|
||||||
|
(node
|
||||||
|
label: (identifier) @label)
|
||||||
|
|
||||||
|
(property
|
||||||
|
label: (identifier) @label)
|
||||||
|
|
||||||
|
(memory_reservation
|
||||||
|
label: (identifier) @label)
|
||||||
|
|
||||||
|
(property
|
||||||
|
name: (identifier) @property)
|
||||||
|
|
||||||
|
(identifier) @variable
|
||||||
|
|
||||||
|
(unit_address) @tag
|
||||||
|
|
||||||
|
(reference) @constant
|
||||||
|
|
||||||
|
(comment) @comment
|
Loading…
Add table
Add a link
Reference in a new issue