1
0
forked from aniani/vim

patch 9.0.1406: ILE RPG files are not recognized

Problem:    ILE RPG files are not recognized.
Solution:   Add patterns for ILE RPG files. (Andreas Louv, issue #12152)
This commit is contained in:
Andreas Louv
2023-03-16 12:26:51 +00:00
committed by Bram Moolenaar
parent 14338024c1
commit e202ec8a0c
3 changed files with 6 additions and 0 deletions

View File

@@ -1732,6 +1732,9 @@ au BufNewFile,BufRead *.rnc setf rnc
" Relax NG XML " Relax NG XML
au BufNewFile,BufRead *.rng setf rng au BufNewFile,BufRead *.rng setf rng
" ILE RPG
au BufNewFile,BufRead *.rpgle,*.rpgleinc setf rpgle
" RPL/2 " RPL/2
au BufNewFile,BufRead *.rpl setf rpl au BufNewFile,BufRead *.rpl setf rpl

View File

@@ -494,6 +494,7 @@ let s:filename_checks = {
\ 'rnc': ['file.rnc'], \ 'rnc': ['file.rnc'],
\ 'rng': ['file.rng'], \ 'rng': ['file.rng'],
\ 'rnoweb': ['file.rnw', 'file.snw'], \ 'rnoweb': ['file.rnw', 'file.snw'],
\ 'rpgle': ['file.rpgle', 'file.rpgleinc'],
\ 'robot': ['file.robot', 'file.resource'], \ 'robot': ['file.robot', 'file.resource'],
\ 'robots': ['robots.txt'], \ 'robots': ['robots.txt'],
\ 'ron': ['file.ron'], \ 'ron': ['file.ron'],

View File

@@ -695,6 +695,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 */
/**/
1406,
/**/ /**/
1405, 1405,
/**/ /**/