runtime/ftplugin/gitconfig.vim @tpope
runtime/ftplugin/gitignore.vim @ObserverOfTime
runtime/ftplugin/gitrebase.vim @tpope
+runtime/ftplugin/gitrevlist.vim @fionn
runtime/ftplugin/gitsendemail.vim @tpope
runtime/ftplugin/gleam.vim @kirillmorozov
runtime/ftplugin/go.vim @dbarnett
# Vim functions for file type detection
#
# Maintainer: The Vim Project <https://github.com/vim/vim>
-# Last Change: 2026 Jul 21
+# Last Change: 2026 Jul 22
# Former Maintainer: Bram Moolenaar <Bram@vim.org>
# These functions are moved here from runtime/filetype.vim to make startup
"TAG_EDITMSG": "gitcommit",
"NOTES_EDITMSG": "gitcommit",
"EDIT_DESCRIPTION": "gitcommit",
+ # Git revision list
+ ".git-blame-ignore-revs": "gitrevlist",
# gnash(1) configuration files
"gnashrc": "gnash",
".gnashrc": "gnash",
--- /dev/null
+" Vim filetype plugin file
+" Language: Git revision list
+" Author: Fionn Fitzmaurice (github.com/fionn)
+" Maintainer: Fionn Fitzmaurice (github.com/fionn)
+" License: Vim & Apache 2.0
+
+if exists("b:did_ftplugin")
+ finish
+endif
+let b:did_ftplugin = 1
+
+setlocal comments=:#
+setlocal commentstring=#\ %s
+setlocal keywordprg=git\ show
+
+let b:undo_ftplugin = "setl comments< commentstring< keywordprg<"
--- /dev/null
+" Vim syntax file
+" Language: Git revision list
+" Author: Fionn Fitzmaurice (github.com/fionn)
+" Maintainer: Fionn Fitzmaurice (github.com/fionn)
+" License: Vim & Apache 2.0
+
+if exists("b:current_syntax")
+ finish
+endif
+
+syn match gitrevlistHash "\<\x\{40}\>\|\<\x\{64}\>" contains=@NoSpell nextgroup=gitrevlistComment skipwhite
+syn match gitrevlistComment "#.*$"
+
+hi def link gitrevlistHash Identifier
+hi def link gitrevlistComment Comment
+
+let b:current_syntax = "gitrevlist"
gitignore: ['file.git/info/exclude', '.gitignore', '/.config/git/ignore', 'some.git/info/exclude'] + WhenConfigHome('$XDG_CONFIG_HOME/git/ignore') + ['.prettierignore', '.fdignore', '/.config/fd/ignore', '.ignore', '.rgignore', '.dockerignore', '.containerignore', '.npmignore', '.vscodeignore'],
gitolite: ['gitolite.conf', '/gitolite-admin/conf/file', 'any/gitolite-admin/conf/file'],
gitrebase: ['git-rebase-todo'],
+ gitrevlist: ['.git-blame-ignore-revs'],
gitsendemail: ['.gitsendemail.msg.xxxxxx'],
gkrellmrc: ['gkrellmrc', 'gkrellmrc_x'],
gleam: ['file.gleam'],
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 836,
/**/
835,
/**/