patch 9.2.0558: filetype: Popcap Reanimation files are not recognized

Commit: 
https://github.com/vim/vim/commit/c83d2f888e6a0a399f4c1c30bec1fd9e5b9664b1
Author: Wu, Zhenyu <[email protected]>
Date:   Fri May 29 18:10:39 2026 +0000

    patch 9.2.0558: filetype: Popcap Reanimation files are not recognized
    
    Problem:  filetype: Popcap Reanimation files are not recognized
    Solution: Recognize *.reanim files as xml filetype (Wu, Zhenyu).
    
    Reference:
    https://github.com/wszqkzqk/PvZ-Portable
    
    closes: #20354
    
    Signed-off-by: Wu, Zhenyu <[email protected]>
    Signed-off-by: Christian Brabandt <[email protected]>

diff --git a/runtime/autoload/dist/ft.vim b/runtime/autoload/dist/ft.vim
index 9419cf58a..a75d31bb5 100644
--- a/runtime/autoload/dist/ft.vim
+++ b/runtime/autoload/dist/ft.vim
@@ -2637,6 +2637,8 @@ const ft_from_ext = {
   "qmd": "quarto",
   # QuickBms
   "bms": "quickbms",
+  # Popcap Reanimation files
+  "reanim": "xml",
   # Racket (formerly detected as "scheme")
   "rkt": "racket",
   "rktd": "racket",
diff --git a/src/testdir/test_filetype.vim b/src/testdir/test_filetype.vim
index 5eb08f277..e2350871b 100644
--- a/src/testdir/test_filetype.vim
+++ b/src/testdir/test_filetype.vim
@@ -986,7 +986,7 @@ def s:GetFilenameChecks(): dict<list<string>>
     xml: ['/etc/blkid.tab', '/etc/blkid.tab.old', 'file.xmi', 'file.csproj', 
'file.csproj.user', 'file.fsproj', 'file.fsproj.user', 'file.vbproj', 
'file.vbproj.user', 'file.ui',
           'file.tpm', '/etc/xdg/menus/file.menu', 'fglrxrc', 'file.xlf', 
'file.xliff', 'file.xul', 'file.wsdl', 'file.wpl', 'any/etc/blkid.tab', 
'any/etc/blkid.tab.old',
           'any/etc/xdg/menus/file.menu', 'file.atom', 'file.rss', 
'file.cdxml', 'file.psc1', 'file.mpd', 'fonts.conf', 'file.xcu', 'file.xlb', 
'file.xlc', 'file.xba', 'file.xpr',
-          'file.xpfm', 'file.spfm', 'file.bxml', 'file.mmi', 'file.slnx', 
'Directory.Packages.props', 'Directory.Build.targets', 'Directory.Build.props'],
+          'file.xpfm', 'file.spfm', 'file.bxml', 'file.mmi', 'file.slnx', 
'Directory.Packages.props', 'Directory.Build.targets', 'Directory.Build.props', 
'file.reanim'],
     xmodmap: ['anyXmodmap', 'Xmodmap', 'some-Xmodmap', 'some-xmodmap', 
'some-xmodmap-file', 'xmodmap', 'xmodmap-file'],
     xpm: ['file.xpm'],
     xpm2: ['file.xpm2'],
diff --git a/src/version.c b/src/version.c
index 685887351..23d96b9e4 100644
--- a/src/version.c
+++ b/src/version.c
@@ -729,6 +729,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    558,
 /**/
     557,
 /**/

-- 
-- 
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 visit 
https://groups.google.com/d/msgid/vim_dev/E1wT1jd-00D2wK-ME%40256bit.org.

Raspunde prin e-mail lui