[
  (block_comment)
  (comment)
  (note)
  (test)
] @comment @spell

[
  (quantity)
  (negative_quantity)
] @number

[
  (date)
  (effective_date)
  (time)
  (interval)
] @string.special

[
  (commodity)
  (option)
  (option_value)
  (check_in)
  (check_out)
] @markup.raw

(account) @variable.member

"include" @keyword.import

[
  "account"
  "alias"
  "assert"
  "check"
  "commodity"
  "comment"
  "def"
  "default"
  "end"
  "eval"
  "format"
  "nomarket"
  "note"
  "payee"
  "test"
  "A"
  "Y"
  "N"
  "D"
  "C"
  "P"
] @keyword
