Skip to content

Commit f3cba4a

Browse files
committed
runtime(doc): document gitcommit_summary_length
related: #19905 Signed-off-by: Christian Brabandt <[email protected]>
1 parent 15e9888 commit f3cba4a

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

runtime/doc/filetype.txt

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*filetype.txt* For Vim version 9.2. Last change: 2026 Mar 24
1+
*filetype.txt* For Vim version 9.2. Last change: 2026 Apr 07
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -652,6 +652,13 @@ One command, :DiffGitCached, is provided to show a diff of the current commit
652652
in the preview window. It is equivalent to calling "git diff --cached" plus
653653
any arguments given to the command.
654654

655+
656+
The length of the first line of the commit message used for
657+
syntax highlighting can be configured via `g:gitcommit_summary_length`.
658+
The default is 50. Example: >
659+
660+
let g:gitcommit_summary_length = 70
661+
655662
GIT REBASE *ft-gitrebase-plugin*
656663

657664
The gitrebase filetype defines the following buffer-local commands, to help

0 commit comments

Comments
 (0)