[
    (comment)
    (note)
] @comment

[
    (date)
    (interval)
    (quantity)
] @number

((account) @field)
((commodity) @text.literal)

"include" @include

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