runtime(filetype): tests: Test_filetype_detection() fails

Commit: 
https://github.com/vim/vim/commit/a0c14ef310acac62276b4ee51930d3246b11772e
Author: Christian Brabandt <c...@256bit.org>
Date:   Sat Sep 21 11:23:07 2024 +0200

    runtime(filetype): tests: Test_filetype_detection() fails
    
    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 <c...@256bit.org>

diff --git a/runtime/filetype.vim b/runtime/filetype.vim
index 7c19fb60f..9efa11df7 100644
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -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)

-- 
-- 
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 vim_dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/E1srwRO-00E8Va-7e%40256bit.org.

Raspunde prin e-mail lui