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 -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20211215133133.C9A6C1C214B%40moolenaar.net.

Raspunde prin e-mail lui