Patch 8.2.2838
Problem: File extension .wrap not recognized.
Solution: Use dosini filetype for .wrap files. (Liam Beguin, closes #8177)
Files: runtime/filetype.vim, src/testdir/test_filetype.vim
*** ../vim-8.2.2837/runtime/filetype.vim 2021-04-23 18:06:44.310238634
+0200
--- runtime/filetype.vim 2021-05-06 17:41:27.159415464 +0200
***************
*** 1019,1024 ****
--- 1019,1025 ----
" Meson Build system config
au BufNewFile,BufRead meson.build,meson_options.txt setf meson
+ au BufNewFile,BufRead *.wrap setf dosini
" Messages (logs mostly)
au BufNewFile,BufRead
*/log/{auth,cron,daemon,debug,kern,lpr,mail,messages,news/news,syslog,user}{,.log,.err,.info,.warn,.crit,.notice}{,.[0-9]*,-[0-9]*}
setf messages
*** ../vim-8.2.2837/src/testdir/test_filetype.vim 2021-04-23
18:06:44.310238634 +0200
--- src/testdir/test_filetype.vim 2021-05-06 17:44:44.046975981 +0200
***************
*** 148,154 ****
\ 'dnsmasq': ['/etc/dnsmasq.conf', '/etc/dnsmasq.d/file',
'any/etc/dnsmasq.conf', 'any/etc/dnsmasq.d/file'],
\ 'dockerfile': ['Containerfile', 'Dockerfile', 'file.Dockerfile'],
\ 'dosbatch': ['file.bat', 'file.sys'],
! \ 'dosini': ['.editorconfig', '/etc/pacman.conf', '/etc/yum.conf',
'file.ini', 'npmrc', '.npmrc', 'php.ini', 'php.ini-5', 'php.ini-file',
'/etc/yum.repos.d/file', 'any/etc/pacman.conf', 'any/etc/yum.conf',
'any/etc/yum.repos.d/file'],
\ 'dot': ['file.dot', 'file.gv'],
\ 'dracula': ['file.drac', 'file.drc', 'filelvs', 'filelpe', 'drac.file',
'lpe', 'lvs', 'some-lpe', 'some-lvs'],
\ 'dsl': ['file.dsl'],
--- 148,154 ----
\ 'dnsmasq': ['/etc/dnsmasq.conf', '/etc/dnsmasq.d/file',
'any/etc/dnsmasq.conf', 'any/etc/dnsmasq.d/file'],
\ 'dockerfile': ['Containerfile', 'Dockerfile', 'file.Dockerfile'],
\ 'dosbatch': ['file.bat', 'file.sys'],
! \ 'dosini': ['.editorconfig', '/etc/pacman.conf', '/etc/yum.conf',
'file.ini', 'npmrc', '.npmrc', 'php.ini', 'php.ini-5', 'php.ini-file',
'/etc/yum.repos.d/file', 'any/etc/pacman.conf', 'any/etc/yum.conf',
'any/etc/yum.repos.d/file', 'file.wrap'],
\ 'dot': ['file.dot', 'file.gv'],
\ 'dracula': ['file.drac', 'file.drc', 'filelvs', 'filelpe', 'drac.file',
'lpe', 'lvs', 'some-lpe', 'some-lvs'],
\ 'dsl': ['file.dsl'],
*** ../vim-8.2.2837/src/version.c 2021-05-06 17:36:50.988003911 +0200
--- src/version.c 2021-05-06 17:44:59.406941190 +0200
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 2838,
/**/
--
hundred-and-one symptoms of being an internet addict:
238. You think faxes are old-fashioned.
/// 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/202105061545.146FjuW31108529%40masaka.moolenaar.net.