mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-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: vim/vim#16367
a407573f30
Co-authored-by: Zoe Roux <zoe.roux@zoriya.dev>
This commit is contained in:
parent
b365036ab3
commit
fa298fd2f4
@ -353,6 +353,7 @@ local extension = {
|
||||
cql = 'cqlang',
|
||||
crm = 'crm',
|
||||
cr = 'crystal',
|
||||
cake = 'cs',
|
||||
csx = 'cs',
|
||||
cs = 'cs',
|
||||
csc = 'csc',
|
||||
|
@ -195,7 +195,7 @@ func s:GetFilenameChecks() abort
|
||||
\ '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'],
|
||||
|
Loading…
Reference in New Issue
Block a user