-
Notifications
You must be signed in to change notification settings - Fork 49
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
Feature: check user's commit message length #86
Comments
I resolve this problem by intergrating this plugin:vim-lengthmatters with vimagit
|
Great, thanks for the tip! |
I also have another solution by just Modify vimagit's syntax rule to do the same feaure |
Nice trick. But there are solutions to detect the first non blank line in a commit message, without adding a string in front of the line. A PR with such solution would be welcomed. |
Hmm..I think it's a little bit diffcult, I can't figure out this regex mattern to match first non blank line in a commit message |
Indeed, the pattern is the following: the first non blank line after the pattern "Commit message\n==============\n" |
Since this isn't supported in vimagit itself, can this issue be reopened? |
OK ,I reopen it. |
👍 thanks @scps950707 for the PR! It has been merged in |
vim changes the color of commit message text color to tell us not to write commit message longer than 50 characters in first line.
But magit doesn't
I hope vimagit can implement same feature as vim, thanks!
The text was updated successfully, but these errors were encountered: