summaryrefslogtreecommitdiff
path: root/runtime/queries/ledger/highlights.scm
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/ledger/highlights.scm')
-rw-r--r--runtime/queries/ledger/highlights.scm38
1 files changed, 38 insertions, 0 deletions
diff --git a/runtime/queries/ledger/highlights.scm b/runtime/queries/ledger/highlights.scm
new file mode 100644
index 00000000..86c609c2
--- /dev/null
+++ b/runtime/queries/ledger/highlights.scm
@@ -0,0 +1,38 @@
+[
+ (comment)
+ (note)
+] @comment
+
+[
+ (date)
+ (interval)
+ (quantity)
+] @number
+
+((account) @field)
+((commodity) @text.literal)
+
+"include" @include
+
+[
+ "account"
+ "alias"
+ "assert"
+ "check"
+ "commodity"
+ "def"
+ "default"
+ "end"
+ "eval"
+ "format"
+ "nomarket"
+ "note"
+ "payee"
+ "check"
+ "A"
+ "Y"
+ "N"
+ "D"
+ "C"
+ "P"
+] @keyword