Patch 8.2.3685
Problem: Visual studio project files are not recognized.
Solution: Use the xml file type. (Doug Kearns)
Files: runtime/filetype.vim, src/testdir/test_filetype.vim
*** ../vim-8.2.3684/runtime/filetype.vim 2021-11-16 16:38:37.505604307
+0000
--- runtime/filetype.vim 2021-11-27 14:28:19.047398342 +0000
***************
*** 2059,2067 ****
" XMI (holding UML models) is also XML
au BufNewFile,BufRead *.xmi setf xml
! " CSPROJ files are Visual Studio.NET's XML-based project config files
au BufNewFile,BufRead *.csproj,*.csproj.user setf xml
" Qt Linguist translation source and Qt User Interface Files are XML
" However, for .ts Typescript is more common.
au BufNewFile,BufRead *.ui setf xml
--- 2059,2073 ----
" XMI (holding UML models) is also XML
au BufNewFile,BufRead *.xmi setf xml
! " CSPROJ files are Visual Studio.NET's XML-based C# project config files
au BufNewFile,BufRead *.csproj,*.csproj.user setf xml
+ " FSPROJ files are Visual Studio.NET's XML-based F# project config files
+ au BufNewFile,BufRead *.fsproj,*.fsproj.user setf xml
+
+ " VBPROJ files are Visual Studio.NET's XML-based Visual Basic project config
files
+ au BufNewFile,BufRead *.vbproj,*.vbproj.user setf xml
+
" Qt Linguist translation source and Qt User Interface Files are XML
" However, for .ts Typescript is more common.
au BufNewFile,BufRead *.ui setf xml
*** ../vim-8.2.3684/src/testdir/test_filetype.vim 2021-11-26
13:01:36.988427354 +0000
--- src/testdir/test_filetype.vim 2021-11-27 14:28:19.047398342 +0000
***************
*** 554,560 ****
\ 'xhtml': ['file.xhtml', 'file.xht'],
\ 'xinetd': ['/etc/xinetd.conf', '/etc/xinetd.d/file',
'any/etc/xinetd.conf', 'any/etc/xinetd.d/file'],
\ 'xmath': ['file.msc', 'file.msf'],
! \ 'xml': ['/etc/blkid.tab', '/etc/blkid.tab.old', 'file.xmi',
'file.csproj', 'file.csproj.user', 'file.ui', 'file.tpm',
'/etc/xdg/menus/file.menu', 'fglrxrc', 'file.xlf', 'file.xliff', 'file.xul',
'file.wsdl', 'file.wpl', 'any/etc/blkid.tab', 'any/etc/blkid.tab.old',
'any/etc/xdg/menus/file.menu', 'file.atom', 'file.rss', 'file.cdxml',
'file.psc1', 'file.mpd'],
\ 'xmodmap': ['anyXmodmap', 'Xmodmap', 'some-Xmodmap', 'some-xmodmap',
'some-xmodmap-file', 'xmodmap', 'xmodmap-file'],
\ 'xf86conf': ['xorg.conf', 'xorg.conf-4'],
\ 'xpm': ['file.xpm'],
--- 554,560 ----
\ 'xhtml': ['file.xhtml', 'file.xht'],
\ 'xinetd': ['/etc/xinetd.conf', '/etc/xinetd.d/file',
'any/etc/xinetd.conf', 'any/etc/xinetd.d/file'],
\ 'xmath': ['file.msc', 'file.msf'],
! \ 'xml': ['/etc/blkid.tab', '/etc/blkid.tab.old', 'file.xmi',
'file.csproj', 'file.csproj.user', 'file.fsproj', 'file.fsproj.user',
'file.vbproj', 'file.vbproj.user', 'file.ui', 'file.tpm',
'/etc/xdg/menus/file.menu', 'fglrxrc', 'file.xlf', 'file.xliff', 'file.xul',
'file.wsdl', 'file.wpl', 'any/etc/blkid.tab', 'any/etc/blkid.tab.old',
'any/etc/xdg/menus/file.menu', 'file.atom', 'file.rss', 'file.cdxml',
'file.psc1', 'file.mpd'],
\ 'xmodmap': ['anyXmodmap', 'Xmodmap', 'some-Xmodmap', 'some-xmodmap',
'some-xmodmap-file', 'xmodmap', 'xmodmap-file'],
\ 'xf86conf': ['xorg.conf', 'xorg.conf-4'],
\ 'xpm': ['file.xpm'],
*** ../vim-8.2.3684/src/version.c 2021-11-27 13:28:19.032531494 +0000
--- src/version.c 2021-11-27 14:29:36.487463135 +0000
***************
*** 759,760 ****
--- 759,762 ----
{ /* Add new patch number below this line */
+ /**/
+ 3685,
/**/
--
NEIL INNES PLAYED: THE FIRST SELF-DESTRUCTIVE MONK, ROBIN'S LEAST FAVORITE
MINSTREL, THE PAGE CRUSHED BY A RABBIT, THE OWNER OF A DUCK
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
/// 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/20211127143240.5A2541C025D%40moolenaar.net.