Skip to content

Allow color declarations#32

Open
WhySoBad wants to merge 2 commits intotree-sitter-grammars:masterfrom
WhySoBad:color-declarations
Open

Allow color declarations#32
WhySoBad wants to merge 2 commits intotree-sitter-grammars:masterfrom
WhySoBad:color-declarations

Conversation

@WhySoBad
Copy link
Contributor

@WhySoBad WhySoBad commented Nov 4, 2025

Hi,
I've noticed that the grammar currently doesn't allow color declarations like this:

$capsLockColor = rgba(61afefff)

This pull request adds support for that.
Also, all variables now contain a field called name which I forgot in the last pull request

I accidentally ran a formatter on the grammar.js file. If you mind, I could reset the file and do the changes again without the formatting.

@WhySoBad
Copy link
Contributor Author

@luckasRanarison sorry to bother you, but would it be for you to review this merge request :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant