Skip to content
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

Allow note colors for non-note files that use Set Syntax. #69

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Allow note colors for non-note files that use Set Syntax. #69

wants to merge 1 commit into from

Conversation

rocketnova
Copy link

It's possible to use PlainNotes to set the syntax (Set Syntax: Note) for files not created using PlainNotes, such as a generic .md. But when you try to change the file's note color (Notes: Change Color...), you get an error:

Traceback (most recent call last):
  File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 1036, in run_
    return self.run()
  File "/Users/REDACTED/Library/Application Support/Sublime Text 3/Installed Packages/PlainNotes.sublime-package/notes.py", line 218, in run
ValueError: 'Boxy Yesterday' is not in list

where Boxy Yesterday is the Sublime Text theme.

This change sets "Yellow" as the fallback color so that changing the color doesn't fail.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant