mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-17 19:00:02 -04:00
fix(highlights): clean up tag highlights
This commit is contained in:
parent
c62874656e
commit
aa0c60ca5a
3 changed files with 10 additions and 13 deletions
|
|
@ -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)?)
|
||||||
|
|
|
||||||
|
|
@ -22,9 +22,6 @@
|
||||||
[
|
[
|
||||||
"["
|
"["
|
||||||
"]"
|
"]"
|
||||||
] @tag.delimiter
|
|
||||||
|
|
||||||
[
|
|
||||||
"("
|
"("
|
||||||
")"
|
")"
|
||||||
"{"
|
"{"
|
||||||
|
|
|
||||||
|
|
@ -88,7 +88,7 @@
|
||||||
|
|
||||||
; Namespace
|
; Namespace
|
||||||
(namespace_declaration
|
(namespace_declaration
|
||||||
(namespace_scope) @tag
|
(namespace_scope) @string.special
|
||||||
[
|
[
|
||||||
(namespace) @module
|
(namespace) @module
|
||||||
(_
|
(_
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue