-
-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Color Scheme doesn't color correctly #9
Comments
Can you try to follow the official instructions to reset the application state and see if it fixes the problem? Make sure to backup your preferences before otherwise these will be removed and lost! |
I've reset the application state and reinstalled the application. The nord-sublime-text repo is the only thing inside my Packages folder. Perhaps I'm behind? I should be on the develop branch right? The latest commit I see inside the local repository is a merge with commit hash "0f1657daa79797ad9cd1e3caa92e2cb277571b0b". |
I'm using Build 3152 and I was not able to reproduce the problem even after resetting the app state the theme gets loaded correctly. Can you please try to reproduce it using Build 3150 or higher which includes a improvement to color scheme reloading.
|
Unfortunately I’m not a registered user so I cannot use the dev builds. |
@arcticicestudio Resolved. I figured out the issue. In case you're interested this is one of your rules in the color scheme. The scope value seems to need to be one line for Build 3143. I can't test this with another computer but changing this.
to this
fixed all issues for me. If you want to make the fix yourself, the regex to match this is |
Thanks for the detailed troubleshooting 👍 If there's not way to make the theme compatible between different versions I'm forced to change all these lines. |
A workaround that I have found is to simply separate all of the different scopes. For example: Change this
into this
It'll make your color scheme file much (much) longer, but the fact that the name value is the same doesn't seem to affect the coloring of text. This will probably allow you to keep your maximum line length to be 120 characters but this may make the theme code harder to read quickly. I'll try to see if there's a better workaround. |
The sublime text version (build 3170) now available for non-license users supports new line characters inside the string tags and fixes this bug. |
@lee-hyunkyu Thanks for the info 👍 Haven't got the time to work on this issue, but it's good that they fixed it within Sublime itself so I don't have to change it to a ugly workaround. I'll add this issue to the backlog to add it to the documentation. |
@lee-hyunkyu Just want to let you know that the initial release has finally been pushed to the registry 😄 |
@arcticicestudio I saw! Thanks for all your hard work 👍 |
Here's a quick example. While some things work correctly, other things don't.
I'm currently running Sublime Build 3143 and it is a clean install.
The text was updated successfully, but these errors were encountered: