aboutsummaryrefslogtreecommitdiffstats
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.scm54
1 files changed, 54 insertions, 0 deletions
diff --git a/runtime/queries/ledger/highlights.scm b/runtime/queries/ledger/highlights.scm
new file mode 100644
index 000000000..5198ad888
--- /dev/null
+++ b/runtime/queries/ledger/highlights.scm
@@ -0,0 +1,54 @@
+[
+ (block_comment)
+ (comment)
+ (note)
+ (test)
+] @comment @spell
+
+[
+ (quantity)
+ (negative_quantity)
+] @number
+
+[
+ (date)
+ (effective_date)
+ (time)
+ (interval)
+] @string.special
+
+[
+ (commodity)
+ (option)
+ (option_value)
+ (check_in)
+ (check_out)
+] @markup.raw
+
+(account) @variable.member
+
+"include" @keyword.import
+
+[
+ "account"
+ "alias"
+ "assert"
+ "check"
+ "commodity"
+ "comment"
+ "def"
+ "default"
+ "end"
+ "eval"
+ "format"
+ "nomarket"
+ "note"
+ "payee"
+ "test"
+ "A"
+ "Y"
+ "N"
+ "D"
+ "C"
+ "P"
+] @keyword