Closed hworld closed 8 years ago
Can you please clarify what doesn't work and maybe make a screenshot? Looks the same to me with or without braces:
Ah, it must be a weird issue with Visual Studio Code, then. Will close it out since it's probably just Code failing at parsing the rules somehow.
Hey, I figured out what it is... I use $vars for all my media queries. I believe that's what actually breaks it for me:
@media $media-sm-up
a
color: #fff
Works for me as well...
Bah, it's gotta just be VS Code, then. It seems to highlight everything correctly except for this one case with variables with a $
after the @media
. Probably more of an issue for them, then.
Sorry for wasting your time, and thanks for bearing with me!
Syntax definition for media query blocks without brackets fails. Example:
With the brackets
{}
around around the media block it works.Just wanted to say great work on the syntax file! It's pretty amazing how much it supports of Stylus's crazy syntax.