From 07fe5a2abafbf13b228679ce6cab40f4c20df9ec Mon Sep 17 00:00:00 2001 From: Cédric Barreteau Date: Mon, 7 Jun 2021 23:55:23 +0200 Subject: Update ledger highlight queries --- queries/ledger/highlights.scm | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/queries/ledger/highlights.scm b/queries/ledger/highlights.scm index 5a9e29ac1..e070b2ac0 100644 --- a/queries/ledger/highlights.scm +++ b/queries/ledger/highlights.scm @@ -1,11 +1,16 @@ -((comment) @comment) +[ + (comment) + (note) +] @comment + +[ + (date) + (interval) + (quantity) +] @number -((date) @number) ((account) @field) -((note) @comment) -((amount) @keyword) -((quantity) @number) -((commodity) @string) +((commodity) @text.literal) "include" @include -- cgit v1.2.3-70-g09d2