mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-13 08:50:11 -04:00
Add Cooklang
This commit is contained in:
parent
c993f27469
commit
2dfe7a5839
3 changed files with 32 additions and 0 deletions
22
queries/cooklang/highlights.scm
Normal file
22
queries/cooklang/highlights.scm
Normal file
|
|
@ -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)?)
|
||||
Loading…
Add table
Add a link
Reference in a new issue