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

Missing the @use and @forward syntaxe... #11

Open
kevinmarquesp opened this issue Apr 25, 2022 · 0 comments
Open

Missing the @use and @forward syntaxe... #11

kevinmarquesp opened this issue Apr 25, 2022 · 0 comments

Comments

@kevinmarquesp
Copy link

I was codding and the syntax looks weird...

image

kensternberg-authentik added a commit to kensternberg-authentik/tree-sitter-scss that referenced this issue Dec 18, 2024
This commit creates a distinction between property and variable
assignments within a declaration.  When the left side of a declaration
is a variable, the token `(variable)` will now appear in the grammar
rather than `(property_name)`.

This helps enforce the separation between Sass and CSS, and allows
the `!global` flag to only appear in variable assignments, while
allowing the `!important` (and Sass-related `!default`) keys to
appear only on property assignments.

This fixes [Serenadeai Issue 11](serenadeai/tree-sitter-scss#11).

\# What

\# Why

\# How

\# Designs

\# Test Steps

\# Other Notes
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

No branches or pull requests

1 participant