mirror of
https://github.com/zoriya/vim.git
synced 2025-12-05 23:06:17 +00:00
filetype: cake filetype is not recognized
Problem: filetype: cake filetype is not recognized Solution: detect cake files as cs
This commit is contained in:
@@ -342,7 +342,7 @@ au BufNewFile,BufRead *.capnp setf capnp
|
|||||||
au BufNewFile,BufRead cgdbrc setf cgdbrc
|
au BufNewFile,BufRead cgdbrc setf cgdbrc
|
||||||
|
|
||||||
" C#
|
" C#
|
||||||
au BufNewFile,BufRead *.cs,*.csx setf cs
|
au BufNewFile,BufRead *.cs,*.csx,*.cake setf cs
|
||||||
|
|
||||||
" CSDL
|
" CSDL
|
||||||
au BufNewFile,BufRead *.csdl setf csdl
|
au BufNewFile,BufRead *.csdl setf csdl
|
||||||
|
|||||||
@@ -196,7 +196,7 @@ def s:GetFilenameChecks(): dict<list<string>>
|
|||||||
crm: ['file.crm'],
|
crm: ['file.crm'],
|
||||||
crontab: ['crontab', 'crontab.file', '/etc/cron.d/file', 'any/etc/cron.d/file'],
|
crontab: ['crontab', 'crontab.file', '/etc/cron.d/file', 'any/etc/cron.d/file'],
|
||||||
crystal: ['file.cr'],
|
crystal: ['file.cr'],
|
||||||
cs: ['file.cs', 'file.csx'],
|
cs: ['file.cs', 'file.csx', 'file.cake'],
|
||||||
csc: ['file.csc'],
|
csc: ['file.csc'],
|
||||||
csdl: ['file.csdl'],
|
csdl: ['file.csdl'],
|
||||||
csp: ['file.csp', 'file.fdr'],
|
csp: ['file.csp', 'file.fdr'],
|
||||||
|
|||||||
Reference in New Issue
Block a user