summaryrefslogtreecommitdiff
path: root/queries
diff options
context:
space:
mode:
authorAddison Chan <addison95132@gmail.com>2022-03-14 10:01:14 -0700
committerStephan Seitz <stephan.seitz@fau.de>2022-03-17 08:40:34 +0100
commit2dfe7a5839fe508f50929f33ab948d8485e3f5a9 (patch)
treedfa3a635075bdecc365cf04aedb6a3821006db67 /queries
parentc993f27469627292ed47b19e2960caa184cd4624 (diff)
Add Cooklang
Diffstat (limited to 'queries')
-rw-r--r--queries/cooklang/highlights.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/queries/cooklang/highlights.scm b/queries/cooklang/highlights.scm
new file mode 100644
index 00000000..4ced465b
--- /dev/null
+++ b/queries/cooklang/highlights.scm
@@ -0,0 +1,22 @@
+(metadata) @comment
+
+(ingredient
+ "@" @tag
+ (name)? @text.title
+ (amount
+ (quantity)? @number
+ (units)? @tag.attribute)?)
+
+(timer
+ "~" @tag
+ (name)? @text.title
+ (amount
+ (quantity)? @number
+ (units)? @tag.attribute)?)
+
+(cookware
+ "#" @tag
+ (name)? @text.title
+ (amount
+ (quantity)? @number
+ (units)? @tag.attribute)?)