mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-15 01:40:02 -04:00
Update ledger highlight queries
This commit is contained in:
parent
3f7301789b
commit
455ded2992
1 changed files with 20 additions and 4 deletions
|
|
@ -1,16 +1,31 @@
|
||||||
[
|
[
|
||||||
|
(block_comment)
|
||||||
(comment)
|
(comment)
|
||||||
(note)
|
(note)
|
||||||
|
(test)
|
||||||
] @comment
|
] @comment
|
||||||
|
|
||||||
[
|
[
|
||||||
(date)
|
|
||||||
(interval)
|
|
||||||
(quantity)
|
(quantity)
|
||||||
|
(negative_quantity)
|
||||||
] @number
|
] @number
|
||||||
|
|
||||||
|
[
|
||||||
|
(date)
|
||||||
|
(effective_date)
|
||||||
|
(time)
|
||||||
|
(interval)
|
||||||
|
] @string.special
|
||||||
|
|
||||||
|
[
|
||||||
|
(commodity)
|
||||||
|
(option)
|
||||||
|
(option_value)
|
||||||
|
(check_in)
|
||||||
|
(check_out)
|
||||||
|
] @text.literal
|
||||||
|
|
||||||
((account) @field)
|
((account) @field)
|
||||||
((commodity) @text.literal)
|
|
||||||
|
|
||||||
"include" @include
|
"include" @include
|
||||||
|
|
||||||
|
|
@ -20,6 +35,7 @@
|
||||||
"assert"
|
"assert"
|
||||||
"check"
|
"check"
|
||||||
"commodity"
|
"commodity"
|
||||||
|
"comment"
|
||||||
"def"
|
"def"
|
||||||
"default"
|
"default"
|
||||||
"end"
|
"end"
|
||||||
|
|
@ -28,7 +44,7 @@
|
||||||
"nomarket"
|
"nomarket"
|
||||||
"note"
|
"note"
|
||||||
"payee"
|
"payee"
|
||||||
"check"
|
"test"
|
||||||
"A"
|
"A"
|
||||||
"Y"
|
"Y"
|
||||||
"N"
|
"N"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue