mirror of
https://github.com/vim/vim.git
synced 2025-09-27 04:14:06 -04:00
patch 9.1.0382: filetype: Kbuild files are not recognized
Problem: Kbuild files are not recognized. Solution: Detect Kbuild files as make files. (Bruno Belanyi) closes: #14676 Signed-off-by: Bruno Belanyi <bruno@belanyi.fr> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
652c821366
commit
5cbc9a69e5
@@ -1356,6 +1356,7 @@ au BufNewFile,BufRead .mailcap,mailcap setf mailcap
|
|||||||
|
|
||||||
" Makefile
|
" Makefile
|
||||||
au BufNewFile,BufRead *[mM]akefile,*.mk,*.mak,*.dsp setf make
|
au BufNewFile,BufRead *[mM]akefile,*.mk,*.mak,*.dsp setf make
|
||||||
|
au BufNewFile,BufRead Kbuild setf make
|
||||||
|
|
||||||
" MakeIndex
|
" MakeIndex
|
||||||
au BufNewFile,BufRead *.ist,*.mst setf ist
|
au BufNewFile,BufRead *.ist,*.mst setf ist
|
||||||
|
@@ -417,7 +417,7 @@ def s:GetFilenameChecks(): dict<list<string>>
|
|||||||
mail: ['snd.123', '.letter', '.letter.123', '.followup', '.article', '.article.123', 'pico.123', 'mutt-xx-xxx', 'muttng-xx-xxx', 'ae123.txt', 'file.eml', 'reportbug-file'],
|
mail: ['snd.123', '.letter', '.letter.123', '.followup', '.article', '.article.123', 'pico.123', 'mutt-xx-xxx', 'muttng-xx-xxx', 'ae123.txt', 'file.eml', 'reportbug-file'],
|
||||||
mailaliases: ['/etc/mail/aliases', '/etc/aliases', 'any/etc/aliases', 'any/etc/mail/aliases'],
|
mailaliases: ['/etc/mail/aliases', '/etc/aliases', 'any/etc/aliases', 'any/etc/mail/aliases'],
|
||||||
mailcap: ['.mailcap', 'mailcap'],
|
mailcap: ['.mailcap', 'mailcap'],
|
||||||
make: ['file.mk', 'file.mak', 'file.dsp', 'makefile', 'Makefile', 'makefile-file', 'Makefile-file', 'some-makefile', 'some-Makefile'],
|
make: ['file.mk', 'file.mak', 'file.dsp', 'makefile', 'Makefile', 'makefile-file', 'Makefile-file', 'some-makefile', 'some-Makefile', 'Kbuild'],
|
||||||
mallard: ['file.page'],
|
mallard: ['file.page'],
|
||||||
man: ['file.man'],
|
man: ['file.man'],
|
||||||
manconf: ['/etc/man.conf', 'man.config', 'any/etc/man.conf'],
|
manconf: ['/etc/man.conf', 'man.config', 'any/etc/man.conf'],
|
||||||
|
@@ -704,6 +704,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
382,
|
||||||
/**/
|
/**/
|
||||||
381,
|
381,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user