mirror of
https://github.com/vim/vim.git
synced 2025-07-25 10:54:51 -04:00
patch 9.1.0987: filetype: cake files are not recognized
Problem: filetype: cake files are not recognized Solution: detect '*.cake' files as cs filetype (Zoe Roux) References: https://cakebuild.net/ closes: #16367 Signed-off-by: Zoe Roux <zoe.roux@zoriya.dev> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
parent
58c44e8833
commit
a407573f30
@ -342,7 +342,7 @@ au BufNewFile,BufRead *.capnp setf capnp
|
||||
au BufNewFile,BufRead cgdbrc setf cgdbrc
|
||||
|
||||
" C#
|
||||
au BufNewFile,BufRead *.cs,*.csx setf cs
|
||||
au BufNewFile,BufRead *.cs,*.csx,*.cake setf cs
|
||||
|
||||
" CSDL
|
||||
au BufNewFile,BufRead *.csdl setf csdl
|
||||
|
@ -196,7 +196,7 @@ def s:GetFilenameChecks(): dict<list<string>>
|
||||
crm: ['file.crm'],
|
||||
crontab: ['crontab', 'crontab.file', '/etc/cron.d/file', 'any/etc/cron.d/file'],
|
||||
crystal: ['file.cr'],
|
||||
cs: ['file.cs', 'file.csx'],
|
||||
cs: ['file.cs', 'file.csx', 'file.cake'],
|
||||
csc: ['file.csc'],
|
||||
csdl: ['file.csdl'],
|
||||
csp: ['file.csp', 'file.fdr'],
|
||||
|
@ -704,6 +704,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
987,
|
||||
/**/
|
||||
986,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user