1(boolean_scalar) @boolean
2
3(null_scalar) @constant.builtin
4
5[
6 (double_quote_scalar)
7 (single_quote_scalar)
8 (block_scalar)
9 (string_scalar)
10] @string
11
12(escape_sequence) @string.escape
13
14[
15 (integer_scalar)
16 (float_scalar)
17] @number
18
19(comment) @comment
20
21[
22 (anchor_name)
23 (alias_name)
24 (tag)
25] @type
26
27key: (flow_node
28 [
29 (plain_scalar
30 (string_scalar))
31 (double_quote_scalar)
32 (single_quote_scalar)
33 ] @property)
34
35[
36 ","
37 "-"
38 ":"
39 ">"
40 "?"
41 "|"
42] @punctuation.delimiter
43
44[
45 "["
46 "]"
47 "{"
48 "}"
49] @punctuation.bracket
50
51[
52 "*"
53 "&"
54 "---"
55 "..."
56] @punctuation.special