nordtheme/sublime-text

JSON/Comments/Strings syntax highlighting is broken

lukakerr opened this issue · 7 comments

Just in the past few days the syntax highlighting for JSON, variables (consts, lets), comments and strings has broken.

I've copied over the exact .tmTheme file and selected it as the UI Color Scheme. For other themes it is working, just not for the nord theme

I've attached a screenshot from sublime of what I mean:

screen shot 2017-12-07 at 1 50 07 pm

I've tried to reproduce your screenshot but it works fine on my side.
I've created a test.js file and used the default JavaScript syntax highlighting and also tested it with the Babel package.

gh-3-scrot-negative-reproduction

  • Which Sublime Text version are you running?
  • Have you made sure to set the syntax e.g. to JavaScript to make sure the correct highlighting is used?
  • Are there any packages installed which may take precedence regarding the highlighting?

Sublime Text version: 3143

Yes the correct language is selected. It happens across multiple languages (typescript, python, json)

I tried disabling all packages and restarting but it had no affect.

It started occurring as soon as I restored my laptop from a time machine backup, so I think this might something to do with it, although I'm not sure what have could affected it. I will do a complete uninstall including the Application Support directory and see how that goes

I followed this https://www.sublimetext.com/docs/3/revert.html to restore to a fresh state, and also deleted and re installed the application but it still doesnt work. Ive restarted my computer, and have no idea what could be causing it

Nevermind, I re installed again and it's working now. Have no idea why.. Thanks anyway! I'll close

Strange error, maybe related to a time machine backup problem. Anyway nice to hear you solved it.

@arcticicestudio I'm having a similar issue. I've restored to a fresh state and reinstalled sublime text several times. However for things like method modifiers and comments, the syntax coloring seems to be broken.
screen shot 2018-01-16 at 4 30 37 pm