(comment) @comment
(number) @number
(bool) @boolean

(identifier) @variable

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

[
  ":"
  ","
  "."
] @punctuation.delimiter

[
  "and"
  "not"
  "or"
  "in"
] @keyword.operator

[
  "="
  "=="
  "!="
  "+"
  "/"
  "/="
  "+="
  "-="
  ">"
  ">="
] @operator

(ternaryoperator
  ["?" ":"] @conditional.ternary)

[
  "if"
  "elif"
  "else"
  "endif"
] @conditional

[
  "foreach"
  "endforeach"
  (keyword_break)
  (keyword_continue)
] @repeat

(string) @string

"@" @punctuation.special

(normal_command
  command: (identifier) @function)
(pair
  key: (identifier) @property)

(escape_sequence) @string.escape

((identifier) @variable.builtin
  (#any-of? @variable.builtin
    "meson"
    "host_machine"
    "build_machine"
    "target_machine"
   ))