mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-03 03:56:52 -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
|
||||
|
||||
(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)?)
|
||||
|
|
|
|||
|
|
@ -22,9 +22,6 @@
|
|||
[
|
||||
"["
|
||||
"]"
|
||||
] @tag.delimiter
|
||||
|
||||
[
|
||||
"("
|
||||
")"
|
||||
"{"
|
||||
|
|
|
|||
|
|
@ -88,7 +88,7 @@
|
|||
|
||||
; Namespace
|
||||
(namespace_declaration
|
||||
(namespace_scope) @tag
|
||||
(namespace_scope) @string.special
|
||||
[
|
||||
(namespace) @module
|
||||
(_
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue