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

Red/green diff highlighting in gitcommit message goes away after saving buffer #43

Closed
danielyli opened this issue Apr 22, 2017 · 6 comments

Comments

@danielyli
Copy link

After editing a commit message and saving but not exiting the buffer (:w instead of :x), the red and green diff below the message stops being colored.

@tpope
Copy link
Owner

tpope commented Apr 25, 2017

There's a lot that could be going wrong, but my first suggestion would be to try a different color scheme. The fact you have actual red and green suggests it's doing something special for diffs.

@danielyli
Copy link
Author

Gotcha. I'll check it out and append to this issue if it's not a color scheme problem.

@oluckyman
Copy link

I have a similar issue.
Without any edits, just when I do :Gstatus it looks like this (no green and red):
image

@oluckyman
Copy link

Checked on solarized theme: works fine. Seems it’s the problem in seoul256 theme which I’m using.

@tpope
Copy link
Owner

tpope commented Jun 13, 2017

Your screenshot is the intended effect. Solarized insists on completely jacking it up for whatever reason.

Repository owner deleted a comment from wonka1 Nov 20, 2021
@tpope
Copy link
Owner

tpope commented Nov 20, 2021

Assuming this is a color scheme issue. We're not doing anything unusual with respect to diff highlighting.

@tpope tpope closed this as completed Nov 20, 2021
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

3 participants