Spacegray icon indicating copy to clipboard operation
Spacegray copied to clipboard

Syntax highlighting broken since build 3093

Open sampotts opened this issue 10 years ago • 5 comments

As title basically, upgraded to 3093 because the popup just wouldn't go away (needs a skip this version) and then it broke code highlighting in JS. I've tried 3094 and 3095, same deal. Looks like 3093 caused it.

screen shot 2015-07-31 at 3 31 10 pm

Suggest sticking to 3092 if anyone was thinking of upgrading...

sampotts avatar Jul 31 '15 05:07 sampotts

Here's 3092...

screen shot 2015-07-31 at 3 35 01 pm

sampotts avatar Jul 31 '15 05:07 sampotts

@SamPotts Yeah, it weirded me out as well. But from the looks of it, pre-3093 highlighting was actually incorrect and variables are supposed to be red.

Might be a good idea to file an issue with base16-builder.

Here is a quick bandaid to get things back the way they were. Add this to base16-ocean.dark.tmTheme:

<dict>
    <key>name</key>
    <string>JS Variables</string>
    <key>scope</key>
    <string>source.js variable.other, variable.function.js</string>
    <key>settings</key>
    <dict>
        <key>foreground</key>
        <string>#c0c5ce</string>
    </dict>
</dict>
<dict>
    <key>name</key>
    <string>JS DOM Support</string>
    <key>scope</key>
    <string>support.type.object.dom</string>
    <key>settings</key>
    <dict>
        <key>foreground</key>
        <string>#ebcb8b</string>
    </dict>
</dict>
<dict>
    <key>name</key>
    <string>JS Properties</string>
    <key>scope</key>
    <string>constant.other.object.key.js, string.unquoted.label.js</string>
    <key>settings</key>
    <dict>
        <key>foreground</key>
        <string>#c0c5ce</string>
    </dict>
</dict>

philipbordallo avatar Oct 29 '15 05:10 philipbordallo

Awesome. Only thing is, where do I find that file? I looked in Application Support, no dice?

Edit. Found it. Had to change the .sublime-package to .zip and then edit the file and reverse that process. :+1:

sampotts avatar Oct 29 '15 06:10 sampotts

@SamPotts It's where your packages are installed and most likely in a folder named spacegray. On a Mac this will be ~/Library/Application Support/Sublime Text 3/Packages.

philipbordallo avatar Oct 29 '15 06:10 philipbordallo

I got this message from sublime text today:

Fixes in Spacegray 1.3.2:

  • Fixed red-heavy syntax in JS
  • Fixed text input field alignment
  • Fixed image link color highlighting in Markdown
  • Fixed Oceanic Theme input field backgorund color

However, I still have red everywhere. Is the "band aid" the only thing I can do right now?

dlsso avatar Jan 11 '17 17:01 dlsso