mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-03 09:40:04 +08:00
54 lines
930 B
Scheme
54 lines
930 B
Scheme
(boolean_scalar) @boolean
|
|
(null_scalar) @constant.builtin
|
|
(double_quote_scalar) @string
|
|
(single_quote_scalar) @string
|
|
((block_scalar) @string (#set! "priority" 99))
|
|
(string_scalar) @string
|
|
(escape_sequence) @string.escape
|
|
(integer_scalar) @number
|
|
(float_scalar) @number
|
|
(comment) @comment @spell
|
|
(anchor_name) @type
|
|
(alias_name) @type
|
|
(tag) @type
|
|
(ERROR) @error
|
|
|
|
[
|
|
(yaml_directive)
|
|
(tag_directive)
|
|
(reserved_directive)
|
|
] @preproc
|
|
|
|
(block_mapping_pair
|
|
key: (flow_node [(double_quote_scalar) (single_quote_scalar)] @field))
|
|
(block_mapping_pair
|
|
key: (flow_node (plain_scalar (string_scalar) @field)))
|
|
|
|
(flow_mapping
|
|
(_ key: (flow_node [(double_quote_scalar) (single_quote_scalar)] @field)))
|
|
(flow_mapping
|
|
(_ key: (flow_node (plain_scalar (string_scalar) @field))))
|
|
|
|
[
|
|
","
|
|
"-"
|
|
":"
|
|
">"
|
|
"?"
|
|
"|"
|
|
] @punctuation.delimiter
|
|
|
|
[
|
|
"["
|
|
"]"
|
|
"{"
|
|
"}"
|
|
] @punctuation.bracket
|
|
|
|
[
|
|
"*"
|
|
"&"
|
|
"---"
|
|
"..."
|
|
] @punctuation.special
|