fix(highlights): clean up tag highlights

This commit is contained in:
ObserverOfTime 2024-01-20 16:13:57 +02:00 committed by Christian Clason
parent c62874656e
commit aa0c60ca5a
3 changed files with 10 additions and 13 deletions

View file

@ -1,22 +1,22 @@
(metadata) @comment
(ingredient
"@" @tag
(name)? @markup.heading
"@" @punctuation.delimiter
(name)? @string.special.symbol
(amount
(quantity)? @number
(units)? @tag.attribute)?)
(units)? @constant)?)
(timer
"~" @tag
(name)? @markup.heading
"~" @punctuation.delimiter
(name)? @string.special.symbol
(amount
(quantity)? @number
(units)? @tag.attribute)?)
(units)? @constant)?)
(cookware
"#" @tag
(name)? @markup.heading
"#" @punctuation.delimiter
(name)? @string.special.symbol
(amount
(quantity)? @number
(units)? @tag.attribute)?)
(units)? @constant)?)

View file

@ -22,9 +22,6 @@
[
"["
"]"
] @tag.delimiter
[
"("
")"
"{"

View file

@ -88,7 +88,7 @@
; Namespace
(namespace_declaration
(namespace_scope) @tag
(namespace_scope) @string.special
[
(namespace) @module
(_