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 (metadata) @comment
(ingredient (ingredient
"@" @tag "@" @punctuation.delimiter
(name)? @markup.heading (name)? @string.special.symbol
(amount (amount
(quantity)? @number (quantity)? @number
(units)? @tag.attribute)?) (units)? @constant)?)
(timer (timer
"~" @tag "~" @punctuation.delimiter
(name)? @markup.heading (name)? @string.special.symbol
(amount (amount
(quantity)? @number (quantity)? @number
(units)? @tag.attribute)?) (units)? @constant)?)
(cookware (cookware
"#" @tag "#" @punctuation.delimiter
(name)? @markup.heading (name)? @string.special.symbol
(amount (amount
(quantity)? @number (quantity)? @number
(units)? @tag.attribute)?) (units)? @constant)?)

View file

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

View file

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