aboutsummaryrefslogtreecommitdiffstats
path: root/runtime/queries/cooklang/highlights.scm
blob: 4ac391899d17004414bbdf45d4f8c9fc62143bdc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
(metadata) @comment

(comment) @comment @spell

[
  "{"
  "}"
] @punctuation.bracket

"%" @punctuation.special

(ingredient
  "@" @punctuation.delimiter
  (name)? @string.special.symbol
  (amount
    (quantity)? @number
    (units)? @constant)?)

(timer
  "~" @punctuation.delimiter
  (name)? @string.special.symbol
  (amount
    (quantity)? @number
    (units)? @constant)?)

(cookware
  "#" @punctuation.delimiter
  (name)? @string.special.symbol
  (amount
    (quantity)? @number
    (units)? @constant)?)