-
Notifications
You must be signed in to change notification settings - Fork 11
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-overflow does not see comments #1
Comments
The original implementation handled comments. But then the regex was very long, and I figured the main usecase was for single-commit messages, so simplified the code heavily. I might revisit the regex to handle squashed commits. |
Even in a simple |
Do you still have this one laying around? Because I didn't find it in the history of this repo and I'm also in search of those git-commit editor features (like mawww/kakoune#3228)
|
I think that was the implementation, and that it broke after Kakoune stopped interpreting |
Thanks! I'll see what I can do with it & learn more about highlighters in the process... |
This occurs in some scenarios like doing a squash commit. I added some garbage to the first line to better illustrate the issue.
Either beginning comments should be parsed, or if that's too complex, just disable git-commit-overflow functionality altogether when there are comments at the beginning.
The text was updated successfully, but these errors were encountered: