The following CSS code (well, SCSS) is wrong colored for matching braces:
```css .page-link { display: block; padding: 5px 10px;
&:not(:last-child) { margin-right: 0; } ```
Here is the output in Geany-1.34.1:
![wrong-coloring](https://user-images.githubusercontent.com/203767/53697904-6b0fbd00-3dd6-11e9...)
BTW, would it be possible that `.scss` are also colored as `.css` files?
Geany doesn't support SCSS out of the box (yet), and the snippet you have is not valid CSS. The line that causes trouble is "wrongly" (that'a a matter of perspective, as it's not plain CSS) recognized as a property `&` with the value `not(:last-child) { margin-right: 0`.
However, you can pretty easily get really decent support following the [steps from the wiki page I just created](https://wiki.geany.org/config/scss) -- and it also answers your second question.
Closed #2099.
S/A #260 (not sure why we didn't merge it yet)
github-comments@lists.geany.org