]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime(filetype): tests: Test_filetype_detection() fails
authorChristian Brabandt <cb@256bit.org>
Sat, 21 Sep 2024 09:23:07 +0000 (11:23 +0200)
committerChristian Brabandt <cb@256bit.org>
Sat, 21 Sep 2024 09:23:07 +0000 (11:23 +0200)
Problem:  tests: Test_filetype_detection() fails (after 9.1.0738)
Solution: Add missing filetype detect patterns for *.SYSx and *.MODx

Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/filetype.vim

index 7c19fb60f896f42b88e27187c2b210eb08dbf085..9efa11df78568b540aff5400c423622916f806a6 100644 (file)
@@ -243,7 +243,7 @@ if has("fname_case")
 endif
 au BufNewFile,BufRead *.sysx                   setf rapid
 if has("fname_case")
-  au BufNewFile,BufRead *.sysX,*.Sysx,*.SysX,*.SYSX    setf rapid
+  au BufNewFile,BufRead *.sysX,*.Sysx,*.SysX,*.SYSX,*.SYSx     setf rapid
 endif
 
 " Batch file for 4DOS
@@ -1506,7 +1506,7 @@ if has("fname_case")
 endif
 au BufNewFile,BufRead *.modx                   setf rapid
 if has("fname_case")
-   au BufNewFile,BufRead *.modX,*.Modx,*.ModX,*.MODX   setf rapid
+   au BufNewFile,BufRead *.modX,*.Modx,*.ModX,*.MODX,*.MODx    setf rapid
 endif
 
 " Modula-3 (.m3, .i3, .mg, .ig)