mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17: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)
|
||||
(note)
|
||||
(test)
|
||||
] @comment
|
||||
|
||||
[
|
||||
(date)
|
||||
(interval)
|
||||
(quantity)
|
||||
(negative_quantity)
|
||||
] @number
|
||||
|
||||
[
|
||||
(date)
|
||||
(effective_date)
|
||||
(time)
|
||||
(interval)
|
||||
] @string.special
|
||||
|
||||
[
|
||||
(commodity)
|
||||
(option)
|
||||
(option_value)
|
||||
(check_in)
|
||||
(check_out)
|
||||
] @text.literal
|
||||
|
||||
((account) @field)
|
||||
((commodity) @text.literal)
|
||||
|
||||
"include" @include
|
||||
|
||||
|
|
@ -20,6 +35,7 @@
|
|||
"assert"
|
||||
"check"
|
||||
"commodity"
|
||||
"comment"
|
||||
"def"
|
||||
"default"
|
||||
"end"
|
||||
|
|
@ -28,7 +44,7 @@
|
|||
"nomarket"
|
||||
"note"
|
||||
"payee"
|
||||
"check"
|
||||
"test"
|
||||
"A"
|
||||
"Y"
|
||||
"N"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue