Merge pull request #30452 from zeertzjq/vim-9.1.0738

vim-patch: rapid files are not recognized
This commit is contained in:
zeertzjq 2024-09-21 20:50:09 +08:00 committed by GitHub
commit a19e89022d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 13 additions and 0 deletions

View File

@ -967,6 +967,18 @@ local extension = {
t6 = 'raku', t6 = 'raku',
p6 = 'raku', p6 = 'raku',
raml = 'raml', raml = 'raml',
sysx = 'rapid',
sysX = 'rapid',
Sysx = 'rapid',
SysX = 'rapid',
SYSX = 'rapid',
SYSx = 'rapid',
modx = 'rapid',
modX = 'rapid',
Modx = 'rapid',
ModX = 'rapid',
MODX = 'rapid',
MODx = 'rapid',
rasi = 'rasi', rasi = 'rasi',
rbs = 'rbs', rbs = 'rbs',
rego = 'rego', rego = 'rego',

View File

@ -601,6 +601,7 @@ func s:GetFilenameChecks() abort
\ 'radiance': ['file.rad', 'file.mat'], \ 'radiance': ['file.rad', 'file.mat'],
\ 'raku': ['file.pm6', 'file.p6', 'file.t6', 'file.pod6', 'file.raku', 'file.rakumod', 'file.rakudoc', 'file.rakutest'], \ 'raku': ['file.pm6', 'file.p6', 'file.t6', 'file.pod6', 'file.raku', 'file.rakumod', 'file.rakudoc', 'file.rakutest'],
\ 'raml': ['file.raml'], \ 'raml': ['file.raml'],
\ 'rapid': ['file.sysx', 'file.Sysx', 'file.SysX', 'file.SYSx', 'file.SYSX', 'file.modx', 'file.Modx', 'file.ModX', 'file.MODx', 'file.MODX'],
\ 'rasi': ['file.rasi'], \ 'rasi': ['file.rasi'],
\ 'ratpoison': ['.ratpoisonrc', 'ratpoisonrc'], \ 'ratpoison': ['.ratpoisonrc', 'ratpoisonrc'],
\ 'rbs': ['file.rbs'], \ 'rbs': ['file.rbs'],