Skip to content

Commit ff1245a

Browse files
authored
Merge pull request #2568 from h-east/update-filetype
Update filetype.{txt,jax}
2 parents e4964c7 + 8f395ea commit ff1245a

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

doc/filetype.jax

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*filetype.txt* For Vim バージョン 9.2. Last change: 2026 Mar 24
1+
*filetype.txt* For Vim バージョン 9.2. Last change: 2026 Apr 07
22

33

44
VIM リファレンスマニュアル by Bram Moolenaar
@@ -640,6 +640,12 @@ GIT COMMIT *ft-gitcommit-plugin*
640640
ンドが提供されている。このコマンドを実行すると、その引数をつけて "git diff
641641
--cached" が実行される。
642642

643+
644+
構文ハイライトに使用されるコミットメッセージの最初の行の長さは、
645+
`g:gitcommit_summary_length` で設定できる。デフォルトは 50 である。例: >
646+
647+
let g:gitcommit_summary_length = 70
648+
643649
GIT REBASE *ft-gitrebase-plugin*
644650

645651
gitrebase ファイルタイプは、対話型の `git rebase` を支援するために、以下のバッ

en/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)