Sublime Forum

Go syntax highlighting: Regression in build 3152

#1

I wanted to try out the new font ligatures support in build 3152. Unfortunately, this build pretty much broke syntax highlighting in for Go as can be seen in the following screenshots (it uses the default color for variables, package names, etc.):

Build 3152 (broken):

0 Likes

#2

Discourse didn’t allow me to include two images into my OP (“new users are only allowed to include a single image”).

Here’s how the syntax highlighting should look like:

Build 3143 (unbroken):

0 Likes

#3

The issue first appeared in build 3146, build 3144 works fine.

0 Likes

#4

Does your color scheme have an alpha opacity set on the default foreground color? Previously the opacity was not respected. The newer builds fix this. If you correct the color scheme to have full opacity you should be fine.

Some color scheme authors used a bug in the color scheme parser to make the invisibles dimmer than the foreground text, because the invisibles respected the alpha channel. To replicate this with a newer build, you can now set the color of the invisibles using a global color scheme setting named invisibles.

0 Likes

#5

Thanks, that was exactly the issue :slight_smile:

0 Likes