2024-01-06 15:05:50 +09:00
|
|
|
(match
|
|
|
|
|
key: _ @keyword)
|
2023-11-03 14:20:46 +02:00
|
|
|
|
2024-01-06 15:05:50 +09:00
|
|
|
(assignment
|
|
|
|
|
key: _ @property)
|
2023-11-03 14:20:46 +02:00
|
|
|
|
|
|
|
|
(value) @string
|
|
|
|
|
|
|
|
|
|
; NOTE: higher priorities override bash highlights
|
2024-01-06 15:05:50 +09:00
|
|
|
((fmt_sub
|
|
|
|
|
.
|
|
|
|
|
_ @character.special)
|
2024-07-27 16:28:19 -07:00
|
|
|
(#set! priority 101))
|
2023-11-03 14:20:46 +02:00
|
|
|
|
2024-01-06 15:05:50 +09:00
|
|
|
((var_sub
|
|
|
|
|
.
|
|
|
|
|
_ @variable.builtin)
|
2024-07-27 16:28:19 -07:00
|
|
|
(#set! priority 101))
|
2023-11-03 14:20:46 +02:00
|
|
|
|
|
|
|
|
[
|
|
|
|
|
(system_const)
|
|
|
|
|
(run_type)
|
|
|
|
|
(import_type)
|
|
|
|
|
(kernel_param)
|
|
|
|
|
(seclabel)
|
|
|
|
|
] @attribute
|
|
|
|
|
|
|
|
|
|
((attribute) @attribute
|
2024-07-27 16:28:19 -07:00
|
|
|
(#set! priority 101))
|
2023-11-03 14:20:46 +02:00
|
|
|
|
|
|
|
|
((env_var) @constant
|
2024-07-27 16:28:19 -07:00
|
|
|
(#set! priority 101))
|
2023-11-03 14:20:46 +02:00
|
|
|
|
|
|
|
|
((pattern) @string.special
|
2024-07-27 16:28:19 -07:00
|
|
|
(#set! priority 101))
|
2023-11-03 14:20:46 +02:00
|
|
|
|
2024-01-06 15:05:50 +09:00
|
|
|
([
|
|
|
|
|
"\\\""
|
|
|
|
|
(c_escape)
|
|
|
|
|
] @string.escape
|
2024-07-27 16:28:19 -07:00
|
|
|
(#set! priority 101))
|
2023-11-03 14:20:46 +02:00
|
|
|
|
|
|
|
|
(octal) @number
|
|
|
|
|
|
|
|
|
|
((number) @number
|
2024-07-27 16:28:19 -07:00
|
|
|
(#set! priority 101))
|
2023-11-03 14:20:46 +02:00
|
|
|
|
|
|
|
|
[
|
|
|
|
|
(match_op)
|
|
|
|
|
(assignment_op)
|
|
|
|
|
] @operator
|
|
|
|
|
|
|
|
|
|
("+" @punctuation.special
|
2024-07-27 16:28:19 -07:00
|
|
|
(#set! priority 101))
|
2023-11-03 14:20:46 +02:00
|
|
|
|
2024-01-06 15:05:50 +09:00
|
|
|
([
|
|
|
|
|
"{"
|
|
|
|
|
"}"
|
|
|
|
|
] @punctuation.bracket
|
2024-07-27 16:28:19 -07:00
|
|
|
(#set! priority 101))
|
2023-11-03 14:20:46 +02:00
|
|
|
|
2024-01-06 15:05:50 +09:00
|
|
|
[
|
|
|
|
|
","
|
|
|
|
|
(linebreak)
|
|
|
|
|
] @punctuation.delimiter
|
2023-11-03 14:20:46 +02:00
|
|
|
|
|
|
|
|
(comment) @comment @spell
|