feat!: drop modules, general refactor and cleanup

This commit is contained in:
Christian Clason 2023-06-12 09:54:30 -06:00
parent c13e28f894
commit 2c8f2f2fad
829 changed files with 4905 additions and 8010 deletions

View file

@ -0,0 +1 @@
(node) @fold

View file

@ -0,0 +1,35 @@
(comment) @comment
[
(preproc_include)
(dtsi_include)
] @include
(preproc_def) @constant.macro
(preproc_function_def) @function.macro
[
(memory_reservation)
(file_version)
] @attribute
[
(string_literal)
(byte_string_literal)
(system_lib_string)
] @string
(integer_literal) @number
(identifier) @variable
(node (identifier) @namespace)
(property (identifier) @property)
(labeled_item (identifier) @label)
(call_expression (identifier) @function.macro)
(reference) @label ; referencing labeled_item.identifier
(unit_address) @constant
[ "=" ] @operator
[ "(" ")" "[" "]" "{" "}" "<" ">" ] @punctuation.bracket
[ ";" ":" "," "@" ] @punctuation.delimiter

View file

@ -0,0 +1,14 @@
[
(node)
(property)
(integer_cells)
] @indent.begin
[
"}"
">"
] @indent.branch
[
(comment)
] @indent.ignore

View file

@ -0,0 +1,2 @@
((comment) @injection.content
(#set! injection.language "comment"))

View file

@ -0,0 +1,4 @@
[
(node)
(integer_cells)
]@scope