aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries')
-rw-r--r--runtime/queries/ledger/highlights.scm38
-rw-r--r--runtime/queries/ledger/injections.scm1
2 files changed, 39 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
diff --git a/runtime/queries/ledger/injections.scm b/runtime/queries/ledger/injections.scm
new file mode 100644
index 00000000..4bb7d675
--- /dev/null
+++ b/runtime/queries/ledger/injections.scm
@@ -0,0 +1 @@
+(comment) @comment