mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-05 21:10:15 -04:00
feat!: drop modules, general refactor and cleanup
This commit is contained in:
parent
c13e28f894
commit
2c8f2f2fad
829 changed files with 4905 additions and 8010 deletions
3
runtime/queries/ledger/folds.scm
Normal file
3
runtime/queries/ledger/folds.scm
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
[
|
||||
(xact)
|
||||
] @fold
|
||||
54
runtime/queries/ledger/highlights.scm
Normal file
54
runtime/queries/ledger/highlights.scm
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
[
|
||||
(block_comment)
|
||||
(comment)
|
||||
(note)
|
||||
(test)
|
||||
] @comment
|
||||
|
||||
[
|
||||
(quantity)
|
||||
(negative_quantity)
|
||||
] @number
|
||||
|
||||
[
|
||||
(date)
|
||||
(effective_date)
|
||||
(time)
|
||||
(interval)
|
||||
] @string.special
|
||||
|
||||
[
|
||||
(commodity)
|
||||
(option)
|
||||
(option_value)
|
||||
(check_in)
|
||||
(check_out)
|
||||
] @text.literal
|
||||
|
||||
((account) @field)
|
||||
|
||||
"include" @include
|
||||
|
||||
[
|
||||
"account"
|
||||
"alias"
|
||||
"assert"
|
||||
"check"
|
||||
"commodity"
|
||||
"comment"
|
||||
"def"
|
||||
"default"
|
||||
"end"
|
||||
"eval"
|
||||
"format"
|
||||
"nomarket"
|
||||
"note"
|
||||
"payee"
|
||||
"test"
|
||||
"A"
|
||||
"Y"
|
||||
"N"
|
||||
"D"
|
||||
"C"
|
||||
"P"
|
||||
] @keyword
|
||||
3
runtime/queries/ledger/indents.scm
Normal file
3
runtime/queries/ledger/indents.scm
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
[
|
||||
(journal_item)
|
||||
] @indent.begin
|
||||
5
runtime/queries/ledger/injections.scm
Normal file
5
runtime/queries/ledger/injections.scm
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
((comment) @injection.content
|
||||
(#set! injection.language "comment"))
|
||||
|
||||
((note) @injection.content
|
||||
(#set! injection.language "comment"))
|
||||
Loading…
Add table
Add a link
Reference in a new issue