Bug 369254

Summary: css/scss $variable highlighting issues
Product: [Frameworks and Libraries] frameworks-syntax-highlighting Reporter: jos poortvliet <jospoortvliet>
Component: syntaxAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: christoph
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description jos poortvliet 2016-09-23 18:01:19 UTC
KWrite can't handle variables ($something) in the @media part. This will result in the rest of the file being seen as invalid:

@media (max-width: $navbar-breaksize) {
    .navbar-header {
        float: none;
    }

This is in css and scss files. @media often causes weird issues, btw, not sure what exactly is wrong though...

Reproducible: Always
Comment 1 Dominik Haumann 2017-07-23 08:59:55 UTC
Hi Jos, CSS and SCSS got a huge update in 2017-02-12, specifically to improve handling the @media parts. As such, I believe your issue is fixed and should work as expected. If you can, would be nice if you could confirm this. See bug #376005 for all the details.

*** This bug has been marked as a duplicate of bug 376005 ***