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
|
||||
|
||||
" 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'],
|
||||
|
||||
Reference in New Issue
Block a user