add phase for colorscheme migration
Paper Tonic colorscheme and custom highlights - Port Paper Tonic colorscheme as a local plugin. - Add custom TreeSitter captures for CSS and HTML. - Verify and extend highlights for plugins and captures. - Retire legacy highlights and validate performance.
This commit is contained in:
parent
a0d94be4f3
commit
bbe744339d
5 changed files with 162 additions and 21 deletions
17
after/queries/html/highlights.scm
Normal file
17
after/queries/html/highlights.scm
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
(start_tag
|
||||
(attribute
|
||||
(attribute_name) @ClassNameAttribute (#eq? @ClassNameAttribute "class")
|
||||
(quoted_attribute_value
|
||||
(attribute_value) @CssClassName )))
|
||||
|
||||
(start_tag
|
||||
(attribute
|
||||
(attribute_name) @IdAttribute (#eq? @IdAttribute "id")
|
||||
(quoted_attribute_value
|
||||
(attribute_value) @CssIdentifier )))
|
||||
|
||||
(start_tag
|
||||
(attribute
|
||||
(attribute_name) @DataAttribute (#match? @DataAttribute "^data-")
|
||||
(quoted_attribute_value
|
||||
(attribute_value) @DataAttributeValue )))
|
||||
Loading…
Add table
Add a link
Reference in a new issue