1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-03 09:50:04 +08:00
SpaceVim/bundle/nvim-treesitter/queries/beancount/highlights.scm

25 lines
552 B
Scheme

(date) @field
(txn) @attribute
(account) @type
(amount) @number
(incomplete_amount) @number
(compound_amount) @number
(amount_tolerance) @number
(currency) @property
(key) @label
(string) @string @spell
(narration) @string @spell
(payee) @string @spell
(tag) @constant
(link) @constant
[
(minus) (plus) (slash) (asterisk)
] @operator
(comment) @comment @spell
[
(balance) (open) (close) (commodity) (pad)
(event) (price) (note) (document) (query)
(custom) (pushtag) (poptag) (pushmeta)
(popmeta) (option) (include) (plugin)
] @keyword