Bug 369254 - css/scss $variable highlighting issues
Summary: css/scss $variable highlighting issues
Status: RESOLVED DUPLICATE of bug 376005
Alias: None
Product: frameworks-syntax-highlighting
Classification: Frameworks and Libraries
Component: syntax (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-23 18:01 UTC by jos poortvliet
Modified: 2017-07-23 09:23 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***