filetype: cake filetype is not recognized

Problem: filetype: cake filetype is not recognized
Solution: detect cake files as cs
This commit is contained in:
2025-01-02 16:58:07 +01:00
parent 663d18d610
commit 8ba2738f06
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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'],