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

Unable to customize syntax highlighting colors #254

Closed
elistevens opened this issue May 14, 2019 · 5 comments
Closed

Unable to customize syntax highlighting colors #254

elistevens opened this issue May 14, 2019 · 5 comments

Comments

@elistevens
Copy link

I cannot find a way to customize the syntax highlighting colors. They seem to be hardcoded(?) to a light theme:

validation set (`0.802000`) lets us appreciate

In the editor, this looks like:

image

The rendered view is fine:

image

I would expect that the colors would show up under an Asciidoc file type in Settings > Editor > Color Scheme > Asciidoc

AsciiDoc Plugin Version: 0.25.14

IDE Name and Version:

PyCharm 2019.1 (Professional Edition)
Build #PY-191.6183.50, built on March 19, 2019
Licensed to Eli Stevens
Subscription is active until December 11, 2019
JRE: 11.0.2+9-b159.30 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0

@ahus1
Copy link
Contributor

ahus1 commented May 15, 2019

This plugin currently support Default and Darcula theme. Currently you can't set custom colors. I'll add this for an upcoming release.

Did you select a different theme, or did you define a custom theme?

@elistevens
Copy link
Author

I have a custom theme based on tweaks of Darcula. Seems like since it's not a recognized name, it's defaulting to Default colors? Is there a way to get it to use the Darcula-compatible colors?

@ahus1
Copy link
Contributor

ahus1 commented May 15, 2019

I think your assumption is correct, it defaults to Default colors. I'm looking into this; I hope to make this configurable over the next days.

@ahus1
Copy link
Contributor

ahus1 commented May 16, 2019

There is now a pre-release 0.25.1 available from GitHub releases.

This allows you to configure colors for highlighting, or to reset the colors for AsciiDoc highlighting to the Darcula theme.

Please give it a try!

settings

@ahus1
Copy link
Contributor

ahus1 commented May 24, 2019

version 0.26.7 is now available via the jetbrains plugin repository.

@ahus1 ahus1 closed this as completed May 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants