nvim-treesitter/queries/ledger/highlights.scm

55 lines
588 B
Scheme
Raw Normal View History

2021-06-07 23:55:23 +02:00
[
2023-04-22 18:06:12 -04:00
(block_comment)
2021-06-07 23:55:23 +02:00
(comment)
(note)
2023-04-22 18:06:12 -04:00
(test)
2021-06-07 23:55:23 +02:00
] @comment
[
(quantity)
2023-04-22 18:06:12 -04:00
(negative_quantity)
2021-06-07 23:55:23 +02:00
] @number
2023-04-22 18:06:12 -04:00
[
(date)
(effective_date)
(time)
(interval)
] @string.special
[
(commodity)
(option)
(option_value)
(check_in)
(check_out)
] @text.literal
((account) @field)
"include" @include
[
"account"
2021-02-23 22:04:16 +01:00
"alias"
"assert"
"check"
"commodity"
2023-04-22 18:06:12 -04:00
"comment"
"def"
2021-02-23 22:04:16 +01:00
"default"
"end"
"eval"
"format"
"nomarket"
"note"
"payee"
2023-04-22 18:06:12 -04:00
"test"
2021-02-23 22:04:16 +01:00
"A"
"Y"
"N"
"D"
"C"
"P"
] @keyword