To: vim_dev@googlegroups.com Subject: Patch 9.0.1615 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 9.0.1615 Problem: URL shortcut files are not recognized. Solution: Add a pattern for URL shortcut files. (closes #12474) Files: runtime/filetype.vim, src/testdir/test_filetype.vim *** ../vim-9.0.1614/runtime/filetype.vim 2023-06-03 17:56:26.632203045 +0100 --- runtime/filetype.vim 2023-06-07 18:23:15.148869993 +0100 *************** *** 2298,2303 **** --- 2298,2306 ---- au BufNewFile,BufRead */.config/upstart/*.conf setf upstart au BufNewFile,BufRead */.config/upstart/*.override setf upstart + " URL shortcut + au BufNewFile,BufRead *.url setf urlshortcut + " Vala au BufNewFile,BufRead *.vala setf vala *** ../vim-9.0.1614/src/testdir/test_filetype.vim 2023-06-03 17:56:26.632203045 +0100 --- src/testdir/test_filetype.vim 2023-06-07 18:23:15.148869993 +0100 *************** *** 709,714 **** --- 709,715 ---- upstreamdat: ['upstream.dat', 'UPSTREAM.DAT', 'upstream.file.dat', 'UPSTREAM.FILE.DAT', 'file.upstream.dat', 'FILE.UPSTREAM.DAT'], upstreaminstalllog: ['upstreaminstall.log', 'UPSTREAMINSTALL.LOG', 'upstreaminstall.file.log', 'UPSTREAMINSTALL.FILE.LOG', 'file.upstreaminstall.log', 'FILE.UPSTREAMINSTALL.LOG'], upstreamlog: ['fdrupstream.log', 'upstream.log', 'UPSTREAM.LOG', 'upstream.file.log', 'UPSTREAM.FILE.LOG', 'file.upstream.log', 'FILE.UPSTREAM.LOG', 'UPSTREAM-file.log', 'UPSTREAM-FILE.LOG'], + urlshortcut: ['file.url'], usd: ['file.usda', 'file.usd'], usserverlog: ['usserver.log', 'USSERVER.LOG', 'usserver.file.log', 'USSERVER.FILE.LOG', 'file.usserver.log', 'FILE.USSERVER.LOG'], usw2kagtlog: ['usw2kagt.log', 'USW2KAGT.LOG', 'usw2kagt.file.log', 'USW2KAGT.FILE.LOG', 'file.usw2kagt.log', 'FILE.USW2KAGT.LOG'], *** ../vim-9.0.1614/src/version.c 2023-06-06 15:59:52.901253625 +0100 --- src/version.c 2023-06-07 18:24:51.516986615 +0100 *************** *** 697,698 **** --- 697,700 ---- { /* Add new patch number below this line */ + /**/ + 1615, /**/ -- hundred-and-one symptoms of being an internet addict: 128. You can access the Net -- via your portable and cellular phone. /// 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 ///