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)
diff --git a/runtime/filetype.vim b/runtime/filetype.vim
index da22159..ada48bd 100644
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -1732,6 +1732,9 @@
" Relax NG XML
au BufNewFile,BufRead *.rng setf rng
+" ILE RPG
+au BufNewFile,BufRead *.rpgle,*.rpgleinc setf rpgle
+
" RPL/2
au BufNewFile,BufRead *.rpl setf rpl
diff --git a/src/testdir/test_filetype.vim b/src/testdir/test_filetype.vim
index 94b0848..c57f4da 100644
--- a/src/testdir/test_filetype.vim
+++ b/src/testdir/test_filetype.vim
@@ -494,6 +494,7 @@
\ 'rnc': ['file.rnc'],
\ 'rng': ['file.rng'],
\ 'rnoweb': ['file.rnw', 'file.snw'],
+ \ 'rpgle': ['file.rpgle', 'file.rpgleinc'],
\ 'robot': ['file.robot', 'file.resource'],
\ 'robots': ['robots.txt'],
\ 'ron': ['file.ron'],
diff --git a/src/version.c b/src/version.c
index 733eb46..1a0a036 100644
--- a/src/version.c
+++ b/src/version.c
@@ -696,6 +696,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1406,
+/**/
1405,
/**/
1404,