nordtheme / sublime-text

An arctic, north-bluish clean and elegant Sublime Text theme.
https://www.nordtheme.com/ports/sublime-text
MIT License
140 stars 12 forks source link

JSON/Comments/Strings syntax highlighting is broken #3

Closed lukakerr closed 6 years ago

lukakerr commented 6 years ago

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

lukakerr commented 6 years ago

For strings, it seems to break around here: https://github.com/arcticicestudio/nord-sublime-text/blob/feature/gh-1-color-scheme/Nord.tmTheme#L644

For variables (constants, lets etc), it seems to break around here: https://github.com/arcticicestudio/nord-sublime-text/blob/feature/gh-1-color-scheme/Nord.tmTheme#L783

For comments, it seems to break around here: https://github.com/arcticicestudio/nord-sublime-text/blob/feature/gh-1-color-scheme/Nord.tmTheme#L110

arcticicestudio commented 6 years ago

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

lukakerr commented 6 years ago

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

lukakerr commented 6 years ago

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

lukakerr commented 6 years ago

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

arcticicestudio commented 6 years ago

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

lee-hyunkyu commented 6 years ago

@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