aboutsummaryrefslogtreecommitdiffstats
path: root/queries/cooklang
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/cooklang
parentUpdate lockfile.json (diff)
downloadnvim-treesitter-2dfe7a5839fe508f50929f33ab948d8485e3f5a9.tar
nvim-treesitter-2dfe7a5839fe508f50929f33ab948d8485e3f5a9.tar.gz
nvim-treesitter-2dfe7a5839fe508f50929f33ab948d8485e3f5a9.tar.bz2
nvim-treesitter-2dfe7a5839fe508f50929f33ab948d8485e3f5a9.tar.lz
nvim-treesitter-2dfe7a5839fe508f50929f33ab948d8485e3f5a9.tar.xz
nvim-treesitter-2dfe7a5839fe508f50929f33ab948d8485e3f5a9.tar.zst
nvim-treesitter-2dfe7a5839fe508f50929f33ab948d8485e3f5a9.zip
Add Cooklang
Diffstat (limited to 'queries/cooklang')
-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 000000000..4ced465bd
--- /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)?)