Add some simple configuration for git-commit
This commit is contained in:
parent
48b6394757
commit
b4c5a52b3e
12
init.el
12
init.el
|
@ -630,7 +630,17 @@
|
|||
hydra-feature-shortcuts/body))
|
||||
|
||||
(use-package git-commit
|
||||
:commands (global-git-commit-mode))
|
||||
:commands (global-git-commit-mode)
|
||||
:init (setq git-commit-style-convention-checks '(non-empty-second-line
|
||||
overlong-summary-line)
|
||||
git-commit-known-pseudo-headers '("Signed-off-by"
|
||||
"Acked-by"
|
||||
"Modified-by"
|
||||
"Cc"
|
||||
"Suggested-by"
|
||||
"Reported-by"
|
||||
"Tested-by"
|
||||
"Reviewed-by"))
|
||||
|
||||
(use-package magit
|
||||
:commands (magit-status)
|
||||
|
|
Loading…
Reference in New Issue