mirror of
https://github.com/neovim/neovim.git
synced 2025-10-22 17:11:49 +00:00
vim-patch:9.1.0738: filetype: rapid files are not recognized
Problem: filetype: rapid files are not recognized
Solution: detect '*.sysx' and '*.modx' as rapid filetype
(KnoP-01)
closes: vim/vim#15669
fdcb08264d
Co-authored-by: KnoP-01 <knosowski@graeffrobotics.de>
This commit is contained in:
@@ -967,6 +967,16 @@ local extension = {
|
|||||||
t6 = 'raku',
|
t6 = 'raku',
|
||||||
p6 = 'raku',
|
p6 = 'raku',
|
||||||
raml = 'raml',
|
raml = 'raml',
|
||||||
|
sysx = 'rapid',
|
||||||
|
sysX = 'rapid',
|
||||||
|
Sysx = 'rapid',
|
||||||
|
SysX = 'rapid',
|
||||||
|
SYSX = 'rapid',
|
||||||
|
modx = 'rapid',
|
||||||
|
modX = 'rapid',
|
||||||
|
Modx = 'rapid',
|
||||||
|
ModX = 'rapid',
|
||||||
|
MODX = 'rapid',
|
||||||
rasi = 'rasi',
|
rasi = 'rasi',
|
||||||
rbs = 'rbs',
|
rbs = 'rbs',
|
||||||
rego = 'rego',
|
rego = 'rego',
|
||||||
|
@@ -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'],
|
||||||
|
Reference in New Issue
Block a user