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

Module functions break the arguments #22

Open
prurigro opened this issue Mar 14, 2024 · 0 comments
Open

Module functions break the arguments #22

prurigro opened this issue Mar 14, 2024 · 0 comments

Comments

@prurigro
Copy link

Recent scss releases have put a focus on using functions provided by modules instead of global ones (see here for details).

When I have a function call with a variable and a string inside that looks something like mapget($grid-breakpoints, md); the mapget is recognized as @function.scss, the brackets get recognized as @punctuation.bracket.scss, the $grid-breakpoints gets recognized as @variable.parameter.scss and the md gets recognized as @string.scss.

When I call the same function, but correctly written as a module like map.get($grid-breakpoints, md); the map.get gets recognized as @string.scss, the brackets still get recognized as @punctuation.bracket.scss, but then everything inside isn't recognized at all.

Thanks for your time!

@prurigro prurigro changed the title Module functions break the whole line Module functions break the arguments Mar 14, 2024
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