patch 9.0.1282: Ron files are not recognized

Problem:    Ron files are not recognized.
Solution:   Recognize Ron files. (Amaan Qureshi, closes #11948)
This commit is contained in:
Amaan Qureshi
2023-02-05 14:47:46 +00:00
committed by Bram Moolenaar
parent cb626a4692
commit c8ef30bc2e
3 changed files with 8 additions and 2 deletions

View File

@ -1717,12 +1717,15 @@ au BufNewFile,BufRead *.robot,*.resource setf robot
" Robots.txt " Robots.txt
au BufNewFile,BufRead robots.txt setf robots au BufNewFile,BufRead robots.txt setf robots
" Rpcgen " RON (Rusty Object Notation)
au BufNewFile,BufRead *.x setf rpcgen au BufNewFile,BufRead *.ron setf ron
" MikroTik RouterOS script " MikroTik RouterOS script
au BufRead,BufNewFile *.rsc setf routeros au BufRead,BufNewFile *.rsc setf routeros
" Rpcgen
au BufNewFile,BufRead *.x setf rpcgen
" reStructuredText Documentation Format " reStructuredText Documentation Format
au BufNewFile,BufRead *.rst setf rst au BufNewFile,BufRead *.rst setf rst

View File

@ -488,6 +488,7 @@ let s:filename_checks = {
\ 'rnoweb': ['file.rnw', 'file.snw'], \ 'rnoweb': ['file.rnw', 'file.snw'],
\ 'robot': ['file.robot', 'file.resource'], \ 'robot': ['file.robot', 'file.resource'],
\ 'robots': ['robots.txt'], \ 'robots': ['robots.txt'],
\ 'ron': ['file.ron'],
\ 'routeros': ['file.rsc'], \ 'routeros': ['file.rsc'],
\ 'rpcgen': ['file.x'], \ 'rpcgen': ['file.x'],
\ 'rpl': ['file.rpl'], \ 'rpl': ['file.rpl'],

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 */
/**/
1282,
/**/ /**/
1281, 1281,
/**/ /**/