" Vim support file to detect file types
"
" Maintainer: The Vim Project <https://github.com/vim/vim>
-" Last Change: 2024 Nov 19
+" Last Change: 2024 Nov 24
" Former Maintainer: Bram Moolenaar <Bram@vim.org>
" Listen very carefully, I will say this only once
au BufRead,BufNewfile *.dart,*.drt setf dart
" Debian Control
-au BufNewFile,BufRead */debian/control setf debcontrol
+au BufNewFile,BufRead */{debian,DEBIAN}/control setf debcontrol
au BufNewFile,BufRead control
- \ if getline(1) =~ '^Source:'
+ \ if getline(1) =~ '^Source:\|^Package:'
\| setf debcontrol
\| endif
datascript: ['file.ds'],
dcd: ['file.dcd'],
debchangelog: ['changelog.Debian', 'changelog.dch', 'NEWS.Debian', 'NEWS.dch', '/debian/changelog'],
- debcontrol: ['/debian/control', 'any/debian/control'],
+ debcontrol: ['/debian/control', 'any/debian/control', 'any/DEBIAN/control'],
debcopyright: ['/debian/copyright', 'any/debian/copyright'],
debsources: ['/etc/apt/sources.list', '/etc/apt/sources.list.d/file.list', 'any/etc/apt/sources.list', 'any/etc/apt/sources.list.d/file.list'],
deb822sources: ['/etc/apt/sources.list.d/file.sources', 'any/etc/apt/sources.list.d/file.sources'],
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 886,
/**/
885,
/**/