Limit line width in git commit messages to 72 characters

This is per https://cbea.ms/git-commit/#wrap-72 and makes the line width
in git commit messages independent of the global fill-column setting.
This commit is contained in:
Daniel - 2023-11-27 17:14:00 +01:00
parent 9a90e458f9
commit 7456943c07
Signed by: dbo
GPG Key ID: 784AA8DF0CCDF625
1 changed files with 4 additions and 1 deletions

View File

@ -1304,7 +1304,10 @@
"Suggested-by"
"Reported-by"
"Tested-by"
"Reviewed-by")))
"Reviewed-by"))
:config (add-hook 'git-commit-mode-hook
#'(lambda ()
(setq fill-column 72))))
(use-package highlight-indentation
:commands highlight-indentation-mode)