Add ledger parser, folds and highlights queries

This commit is contained in:
Cédric Barreteau 2021-01-28 22:42:07 +01:00 committed by Thomas Vigouroux
parent 32e39094b9
commit 459173e5c7
5 changed files with 31 additions and 0 deletions

3
queries/ledger/folds.scm Normal file
View file

@ -0,0 +1,3 @@
[
(xact)
] @fold

View file

@ -0,0 +1,16 @@
((comment) @comment)
((date) @number)
((account) @variable)
((note) @comment)
((amount_expr) @keyword)
((quantity) @number)
((commodity) @string)
"include" @include
[
"account"
"end"
"def"
] @keyword