diff src/testdir/test_filetype.vim @ 32566:58df5a4cd3bc v9.0.1615

patch 9.0.1615: URL shortcut files are not recognized Commit: https://github.com/vim/vim/commit/cdb7b4c50826df254d2e5ba8abd211e49b7a9784 Author: ObserverOfTime <chronobserver@disroot.org> Date: Wed Jun 7 18:27:01 2023 +0100 patch 9.0.1615: URL shortcut files are not recognized Problem: URL shortcut files are not recognized. Solution: Add a pattern for URL shortcut files. (closes https://github.com/vim/vim/issues/12474)
author Bram Moolenaar <Bram@vim.org>
date Wed, 07 Jun 2023 19:30:05 +0200
parents cb37dba68329
children 9514e94d4ebe
line wrap: on
line diff
--- a/src/testdir/test_filetype.vim
+++ b/src/testdir/test_filetype.vim
@@ -709,6 +709,7 @@ def s:GetFilenameChecks(): dict<list<str
     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'],