# Vim functions for file type detection
#
# Maintainer: The Vim Project <https://github.com/vim/vim>
-# Last Change: 2026 Jun 14
+# Last Change: 2026 Jul 18
# Former Maintainer: Bram Moolenaar <Bram@vim.org>
# These functions are moved here from runtime/filetype.vim to make startup
"cairo": "cairo",
# Cap'n Proto
"capnp": "capnp",
+ # Dockerfile
+ "containerfile": "dockerfile",
+ "Containerfile": "dockerfile",
+ "dockerfile": "dockerfile",
+ "Dockerfile": "dockerfile",
# Common Package Specification
"cps": "json",
# C#
" Vim support file to detect file types
"
" Maintainer: The Vim Project <https://github.com/vim/vim>
-" Last Change: 2026 Jun 03
+" Last Change: 2026 Jul 18
" Former Maintainer: Bram Moolenaar <Bram@vim.org>
" If the filetype can be detected from extension or file name(the final path component),
" Dockerfile; Podman uses the same syntax with name Containerfile
" Also see Dockerfile.* below.
-au BufNewFile,BufRead Containerfile,Dockerfile,dockerfile,*.[dD]ockerfile setf dockerfile
+au BufNewFile,BufRead Containerfile,Dockerfile,dockerfile setf dockerfile
" Enlightenment configuration files
au BufNewFile,BufRead *enlightenment/*.cfg setf c
dircolors: ['.dir_colors', '.dircolors', '/etc/DIR_COLORS', 'any/etc/DIR_COLORS'],
djot: ['file.dj', 'file.djot'],
dnsmasq: ['/etc/dnsmasq.conf', '/etc/dnsmasq.d/file', 'any/etc/dnsmasq.conf', 'any/etc/dnsmasq.d/file'],
- dockerfile: ['Containerfile', 'Dockerfile', 'dockerfile', 'file.Dockerfile', 'file.dockerfile', 'Dockerfile.debian', 'Containerfile.something'],
+ dockerfile: ['Containerfile', 'Dockerfile', 'dockerfile', 'file.Dockerfile', 'file.dockerfile', 'file.Containerfile', 'file.containerfile', 'Dockerfile.debian', 'Containerfile.something'],
dosbatch: ['file.bat'],
dosini: ['/etc/yum.conf', '/etc/nfs.conf', '/etc/nfsmount.conf', 'file.ini',
'npmrc', '.npmrc', 'php.ini', 'php.ini-5', 'php.ini-file', 'php-fpm.conf', 'php-fpm.conf.default', 'www.conf', 'www.conf.default',
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 786,
/**/
785,
/**/