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

Textcolor in docstrings #119

Closed
DerWeh opened this issue Apr 5, 2017 · 3 comments
Closed

Textcolor in docstrings #119

DerWeh opened this issue Apr 5, 2017 · 3 comments

Comments

@DerWeh
Copy link
Contributor

DerWeh commented Apr 5, 2017

Thank you for your awesome plug-in.
Would it be possible to (add an option to) keep the text color of the docstrings but have rst highlighting beside that? There is simply to little visual difference between docstrings and code, it makes it hard to differentiate that two at first glance.

@gu-fan
Copy link
Owner

gu-fan commented Jan 19, 2018

don't understand... which docstring?

@DerWeh
Copy link
Contributor Author

DerWeh commented Jan 20, 2018

Sorry this was not very explicit. I am mostly using this plug-in to write doc-strings for my Python code. You offer the option g:riv_python_rst_hl to enable your plug-in for Python documents.

I would like to use it, but keep the normal text color like it is without the plug-in, to better distinguish it from the rest of my code. But of course I would like to have the rest of the advanced syntax highlighting your plug-in provides.

@gu-fan
Copy link
Owner

gu-fan commented Jan 20, 2018

Understand, you mean the docstring keep the comment color of python

Got, I will change it.

And right now I'm changing the syntax highlighting in docstring and code highlighting, it's a bit buggy there.

gu-fan added a commit that referenced this issue Jan 20, 2018
@gu-fan gu-fan closed this as completed Jan 20, 2018
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

No branches or pull requests

2 participants