forked from aniani/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: #15669 Signed-off-by: KnoP-01 <knosowski@graeffrobotics.de> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
87b65652e8
commit
fdcb08264d
@@ -241,6 +241,10 @@ au BufNewFile,BufRead *.sys call dist#ft#FTsys()
|
|||||||
if has("fname_case")
|
if has("fname_case")
|
||||||
au BufNewFile,BufRead *.Sys,*.SYS call dist#ft#FTsys()
|
au BufNewFile,BufRead *.Sys,*.SYS call dist#ft#FTsys()
|
||||||
endif
|
endif
|
||||||
|
au BufNewFile,BufRead *.sysx setf rapid
|
||||||
|
if has("fname_case")
|
||||||
|
au BufNewFile,BufRead *.sysX,*.Sysx,*.SysX,*.SYSX setf rapid
|
||||||
|
endif
|
||||||
|
|
||||||
" Batch file for 4DOS
|
" Batch file for 4DOS
|
||||||
au BufNewFile,BufRead *.btm call dist#ft#FTbtm()
|
au BufNewFile,BufRead *.btm call dist#ft#FTbtm()
|
||||||
@@ -1500,6 +1504,10 @@ au BufNewFile,BufRead *.mod call dist#ft#FTmod()
|
|||||||
if has("fname_case")
|
if has("fname_case")
|
||||||
au BufNewFile,BufRead *.Mod,*.MOD call dist#ft#FTmod()
|
au BufNewFile,BufRead *.Mod,*.MOD call dist#ft#FTmod()
|
||||||
endif
|
endif
|
||||||
|
au BufNewFile,BufRead *.modx setf rapid
|
||||||
|
if has("fname_case")
|
||||||
|
au BufNewFile,BufRead *.modX,*.Modx,*.ModX,*.MODX setf rapid
|
||||||
|
endif
|
||||||
|
|
||||||
" Modula-3 (.m3, .i3, .mg, .ig)
|
" Modula-3 (.m3, .i3, .mg, .ig)
|
||||||
au BufNewFile,BufRead *.[mi][3g] setf modula3
|
au BufNewFile,BufRead *.[mi][3g] setf modula3
|
||||||
|
@@ -603,6 +603,7 @@ def s:GetFilenameChecks(): dict<list<string>>
|
|||||||
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'],
|
||||||
|
@@ -704,6 +704,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
738,
|
||||||
/**/
|
/**/
|
||||||
737,
|
737,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user