Commit message behavior should be configurable. #28448
different55
started this conversation in
Git
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This special input area does a lot of formatting that isn't immediately obvious how to configure. It hard-wraps each line to 72(-ish) characters, but only bumps the last word to a brand new line. If you go back to rewrite a chunk of your commit message, you have a orphaned word on a line by itself, and you have to untangle every line from there to the end of the paragraph. No reason for all that.
Ideally, this should be softwrapping until it's actually time to commit (or hardwrapping more intelligently), and ideally I should be able to configure any behavior that's altering the text I'm typing.
If it'd be possible to write the commit message in a buffer, it could feed off existing buffer settings, maybe with the buffer language set to something unique so it can have its own settings and defaults and configurations that work the same as the rest of Zed. I've dug through the online documentation and looked around as much as I can through the auto-complete in settings.json but haven't been able to find out how/if this behavior can be changed.
Beta Was this translation helpful? Give feedback.
All reactions