-
Notifications
You must be signed in to change notification settings - Fork 7
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
Nested scss is fails to parse correctly. #46
Comments
Hi there! Oh gosh! Thanks for the catch! I'll push the fix ASAP |
Thanks man, I use the tool everyday, really nice work. |
Just pushed v5.4 with the fix! Let me know if it works By the way stay tuned for a major update in the coming days. I'm looking at leaving Vetur for the new Volar language server. |
@tommasongr Thanks, nested class selectors are working properly now, however it looks like there is still some issues parsing at-rules. Here is a test snippet. .icon-grid {
@media (max-width: calc(#{$lg} - 1px)) {
grid-template-columns: 1fr;
}
.grid-item {
@media (max-width: calc(#{$lg} - 1px)) {
padding-bottom: 5.7rem;
}
h4 {
@media (max-width: calc(#{$lg} - 1px)) {
padding: 2rem 0 0.6rem;
}
}
img {
@media (max-width: calc(#{$lg} - 1px)) {
height: 7.5rem;
}
}
}
} in a in a Let me know if I can provide any additional information. |
I've noticed that Another clue is that if you use the keyboard shortcut to add a comment (Cmd /), it uses CSS comments ( |
It seems like this subsyntax fails to match for nested scss.
here is an example from a
.sass
file of nested selectors highlighting correctlyhere is the most basic pathological example in a
.vue
file:I tried changing the
subsyntax
to asubscopes
but either I dont know how to correctly make changes to installed plugins or this doesn't fix the problem.The text was updated successfully, but these errors were encountered: