From ac65e0f04b2790dcc5e947f45ea69808fd291548 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Sat, 21 Sep 2024 20:24:12 +0800 Subject: [PATCH] vim-patch:a0c14ef: 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 https://github.com/vim/vim/commit/a0c14ef310acac62276b4ee51930d3246b11772e Co-authored-by: Christian Brabandt --- runtime/lua/vim/filetype.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/runtime/lua/vim/filetype.lua b/runtime/lua/vim/filetype.lua index df26df9e15..88609799bf 100644 --- a/runtime/lua/vim/filetype.lua +++ b/runtime/lua/vim/filetype.lua @@ -972,11 +972,13 @@ local extension = { Sysx = 'rapid', SysX = 'rapid', SYSX = 'rapid', + SYSx = 'rapid', modx = 'rapid', modX = 'rapid', Modx = 'rapid', ModX = 'rapid', MODX = 'rapid', + MODx = 'rapid', rasi = 'rasi', rbs = 'rbs', rego = 'rego',