Patch 8.2.3452
Problem: MPD files are not recognized.
Solution: Recognize MPD files as XML. (Steven Penny, closes #8893)
Files: runtime/filetype.vim, src/testdir/test_filetype.vim
*** ../vim-8.2.3451/runtime/filetype.vim 2021-09-20 20:57:27.079925267
+0200
--- runtime/filetype.vim 2021-09-21 19:34:58.924084710 +0200
***************
*** 1092,1097 ****
--- 1092,1100 ----
" Modconf
au BufNewFile,BufRead */etc/modules.conf,*/etc/modules,*/etc/conf.modules
setf modconf
+ " MPD is based on XML
+ au BufNewFile,BufRead *.mpd setf xml
+
" Mplayer config
au BufNewFile,BufRead mplayer.conf,*/.mplayer/config setf mplayerconf
*** ../vim-8.2.3451/src/testdir/test_filetype.vim 2021-09-20
20:57:27.079925267 +0200
--- src/testdir/test_filetype.vim 2021-09-21 19:35:23.044026586 +0200
***************
*** 551,557 ****
\ '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'],
\ 'xmodmap': ['anyXmodmap', 'Xmodmap', 'some-Xmodmap', 'some-xmodmap',
'some-xmodmap-file', 'xmodmap', 'xmodmap-file'],
\ 'xf86conf': ['xorg.conf', 'xorg.conf-4'],
\ 'xpm2': ['file.xpm2'],
--- 551,557 ----
\ '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'],
\ 'xpm2': ['file.xpm2'],
*** ../vim-8.2.3451/src/version.c 2021-09-20 20:57:27.079925267 +0200
--- src/version.c 2021-09-21 19:36:30.699865084 +0200
***************
*** 759,760 ****
--- 759,762 ----
{ /* Add new patch number below this line */
+ /**/
+ 3452,
/**/
--
The future isn't what it used to be.
/// 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/202109211737.18LHbcsk3257659%40masaka.moolenaar.net.