runtime(doc): document gitcommit_summary_length

Commit: 
https://github.com/vim/vim/commit/f3cba4a2050acf4d9b4be2fd8395e6598a53d133
Author: Christian Brabandt <[email protected]>
Date:   Tue Apr 7 19:37:14 2026 +0000

    runtime(doc): document gitcommit_summary_length
    
    related: https://github.com/vim/vim/issues/19905
    
    Signed-off-by: Christian Brabandt <[email protected]>

diff --git a/runtime/doc/filetype.txt b/runtime/doc/filetype.txt
index 6a7fa3b59..3aa41db21 100644
--- a/runtime/doc/filetype.txt
+++ b/runtime/doc/filetype.txt
@@ -1,4 +1,4 @@
-*filetype.txt* For Vim version 9.2.  Last change: 2026 Mar 24
+*filetype.txt* For Vim version 9.2.  Last change: 2026 Apr 07
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -652,6 +652,13 @@ One command, :DiffGitCached, is provided to show a diff of 
the current commit
 in the preview window.  It is equivalent to calling "git diff --cached" plus
 any arguments given to the command.
 
+
+The length of the first line of the commit message used for
+syntax highlighting can be configured via `g:gitcommit_summary_length`.
+The default is 50.  Example: >
+
+        let g:gitcommit_summary_length = 70
+
 GIT REBASE                                             *ft-gitrebase-plugin*
 
 The gitrebase filetype defines the following buffer-local commands, to help

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/vim_dev/E1wACMC-008u5s-Fm%40256bit.org.

Raspunde prin e-mail lui