To: vim_dev@googlegroups.com Subject: Patch 8.2.3814 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.3814 Problem: .csx files and .sln files are not recognized. Solution: Add filetype patterns. (Doug Kearns) Files: runtime/filetype.vim, src/testdir/test_filetype.vim *** ../vim-8.2.3813/runtime/filetype.vim 2021-12-14 09:34:37.285051286 +0000 --- runtime/filetype.vim 2021-12-15 13:22:00.996237819 +0000 *************** *** 260,266 **** au BufNewFile,BufRead calendar setf calendar " C# ! au BufNewFile,BufRead *.cs setf cs " CSDL au BufNewFile,BufRead *.csdl setf csdl --- 260,266 ---- au BufNewFile,BufRead calendar setf calendar " C# ! au BufNewFile,BufRead *.cs,*.csx setf cs " CSDL au BufNewFile,BufRead *.csdl setf csdl *************** *** 1743,1748 **** --- 1743,1751 ---- " Slice au BufNewFile,BufRead *.ice setf slice + " Microsoft Visual Studio Solution + au BufNewFile,BufRead *.sln setf solution + " Spice au BufNewFile,BufRead *.sp,*.spice setf spice *** ../vim-8.2.3813/src/testdir/test_filetype.vim 2021-12-14 09:34:37.285051286 +0000 --- src/testdir/test_filetype.vim 2021-12-15 13:22:00.996237819 +0000 *************** *** 117,123 **** \ 'cpp': ['file.cxx', 'file.c++', 'file.hh', 'file.hxx', 'file.hpp', 'file.ipp', 'file.moc', 'file.tcc', 'file.inl', 'file.tlh'], \ 'crm': ['file.crm'], \ 'crontab': ['crontab', 'crontab.file', '/etc/cron.d/file', 'any/etc/cron.d/file'], ! \ 'cs': ['file.cs'], \ 'csc': ['file.csc'], \ 'csdl': ['file.csdl'], \ 'csp': ['file.csp', 'file.fdr'], --- 117,123 ---- \ 'cpp': ['file.cxx', 'file.c++', 'file.hh', 'file.hxx', 'file.hpp', 'file.ipp', 'file.moc', 'file.tcc', 'file.inl', 'file.tlh'], \ 'crm': ['file.crm'], \ 'crontab': ['crontab', 'crontab.file', '/etc/cron.d/file', 'any/etc/cron.d/file'], ! \ 'cs': ['file.cs', 'file.csx'], \ 'csc': ['file.csc'], \ 'csdl': ['file.csdl'], \ 'csp': ['file.csp', 'file.fdr'], *************** *** 458,463 **** --- 458,464 ---- \ 'skill': ['file.il', 'file.ils', 'file.cdf'], \ 'slang': ['file.sl'], \ 'slice': ['file.ice'], + \ 'solution': ['file.sln'], \ 'slpconf': ['/etc/slp.conf', 'any/etc/slp.conf'], \ 'slpreg': ['/etc/slp.reg', 'any/etc/slp.reg'], \ 'slpspi': ['/etc/slp.spi', 'any/etc/slp.spi'], *** ../vim-8.2.3813/src/version.c 2021-12-15 12:28:19.155133436 +0000 --- src/version.c 2021-12-15 13:23:23.248081430 +0000 *************** *** 751,752 **** --- 751,754 ---- { /* Add new patch number below this line */ + /**/ + 3814, /**/ -- He who laughs last, thinks slowest. /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///