Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Highlight plain_value in css #41

Open
gaoDean opened this issue Oct 24, 2022 · 2 comments
Open

Highlight plain_value in css #41

gaoDean opened this issue Oct 24, 2022 · 2 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@gaoDean
Copy link
Contributor

gaoDean commented Oct 24, 2022

So the objective here is to highlight the not-highlighted stuff here:

Screen Shot 2022-10-24 at 5 47 07 pm

As you can see in this screenshot, the 'field' I'm trying to highlight is plain_value, which I would like to know how to highlight. This is kind of a generic treesitter question, but we could improve this plugin's css treesitter highlighting with this as well.
Screen Shot 2022-10-24 at 5 47 56 pm

@luisiacc luisiacc added the enhancement New feature or request label Nov 28, 2022
@luisiacc luisiacc added the help wanted Extra attention is needed label Jan 26, 2024
@Pukkah
Copy link

Pukkah commented Jun 13, 2024

This would require adding a custom tree-sitter query in after/queries/css/highlights.scm

; extends

(declaration (plain_value) @highlight)

Where @highlight is the desired highlight.

@luisiacc
Copy link
Owner

This would require adding a custom tree-sitter query in after/queries/css/highlights.scm

; extends

(declaration (plain_value) @highlight)

Where @highlight is the desired highlight.

@gaoDean I'd use this in the meantime

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants