vim-patch:8.2.3814: .csx files and .sln files are not recognized (#16662)

Problem:    .csx files and .sln files are not recognized.
Solution:   Add filetype patterns. (Doug Kearns)
cfabad9bcf
This commit is contained in:
Christian Clason 2021-12-15 16:10:03 +01:00 committed by GitHub
parent 576408ddde
commit cf65071e2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View File

@ -256,7 +256,7 @@ au BufNewFile,BufRead *.lpc,*.ulpc setf lpc
au BufNewFile,BufRead calendar setf calendar au BufNewFile,BufRead calendar setf calendar
" C# " C#
au BufNewFile,BufRead *.cs setf cs au BufNewFile,BufRead *.cs,*.csx setf cs
" CSDL " CSDL
au BufNewFile,BufRead *.csdl setf csdl au BufNewFile,BufRead *.csdl setf csdl
@ -1739,6 +1739,9 @@ au BufNewFile,BufRead *.speedup,*.spdata,*.spd setf spup
" Slice " Slice
au BufNewFile,BufRead *.ice setf slice au BufNewFile,BufRead *.ice setf slice
" Microsoft Visual Studio Solution
au BufNewFile,BufRead *.sln setf solution
" Spice " Spice
au BufNewFile,BufRead *.sp,*.spice setf spice au BufNewFile,BufRead *.sp,*.spice setf spice

View File

@ -117,7 +117,7 @@ let s:filename_checks = {
\ 'cpp': ['file.cxx', 'file.c++', 'file.hh', 'file.hxx', 'file.hpp', 'file.ipp', 'file.moc', 'file.tcc', 'file.inl', 'file.tlh'], \ 'cpp': ['file.cxx', 'file.c++', 'file.hh', 'file.hxx', 'file.hpp', 'file.ipp', 'file.moc', 'file.tcc', 'file.inl', 'file.tlh'],
\ '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'],
\ 'cs': ['file.cs'], \ 'cs': ['file.cs', 'file.csx'],
\ 'csc': ['file.csc'], \ 'csc': ['file.csc'],
\ 'csdl': ['file.csdl'], \ 'csdl': ['file.csdl'],
\ 'csp': ['file.csp', 'file.fdr'], \ 'csp': ['file.csp', 'file.fdr'],
@ -456,6 +456,7 @@ let s:filename_checks = {
\ 'skill': ['file.il', 'file.ils', 'file.cdf'], \ 'skill': ['file.il', 'file.ils', 'file.cdf'],
\ 'slang': ['file.sl'], \ 'slang': ['file.sl'],
\ 'slice': ['file.ice'], \ 'slice': ['file.ice'],
\ 'solution': ['file.sln'],
\ 'slpconf': ['/etc/slp.conf', 'any/etc/slp.conf'], \ 'slpconf': ['/etc/slp.conf', 'any/etc/slp.conf'],
\ 'slpreg': ['/etc/slp.reg', 'any/etc/slp.reg'], \ 'slpreg': ['/etc/slp.reg', 'any/etc/slp.reg'],
\ 'slpspi': ['/etc/slp.spi', 'any/etc/slp.spi'], \ 'slpspi': ['/etc/slp.spi', 'any/etc/slp.spi'],