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

GIT Commit strange formatting #56

Closed
Amparose opened this issue Apr 4, 2014 · 2 comments
Closed

GIT Commit strange formatting #56

Amparose opened this issue Apr 4, 2014 · 2 comments

Comments

@Amparose
Copy link

Amparose commented Apr 4, 2014

When using VIM configured with this awesome package for GIT Commit messages I get weird syntax highlighting when typing:

  • First line is yellow text and looks quite nice.
  • Second line is white text on red bg and looks really weird.
  • Lines after are just white text.

This this for a reason or a bug or have I not set up something?

@darnir
Copy link

darnir commented Apr 4, 2014

That's normal and expected behavior. It is based on the basic guidelines with which git commit messages should be written.

Read http://git-scm.com/book/ch5-2.html for more details.

Specifically this line: " As a general rule, your messages should start with a single line that’s no more than about 50 characters and that describes the changeset concisely, followed by a blank line, followed by a more detailed explanation"

@Amparose
Copy link
Author

Amparose commented Apr 4, 2014

Awesome! I had a feeling I was missing something. Thank you for taking the time to educate me.

@Amparose Amparose closed this as completed Apr 4, 2014
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