
(date) @field
(txn) @attribute

(account) @type

(amount) @number
(incomplete_amount) @number
(amount_tolerance) @number

(currency) @property

(key) @label
(string) @string

(tag) @constant
(link) @constant

(comment) @comment

[
    (balance) (open) (close) (commodity) (pad)
    (event) (price) (note) (document) (query)
    (custom) (pushtag) (poptag) (pushmeta)
    (popmeta) (option) (include) (plugin)
] @keyword
