patch 9.0.1282: Ron files are not recognized
Problem: Ron files are not recognized.
Solution: Recognize Ron files. (Amaan Qureshi, closes #11948)
diff --git a/runtime/filetype.vim b/runtime/filetype.vim
index b4a9564..c0c87ff 100644
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -1717,12 +1717,15 @@
" Robots.txt
au BufNewFile,BufRead robots.txt setf robots
-" Rpcgen
-au BufNewFile,BufRead *.x setf rpcgen
+" RON (Rusty Object Notation)
+au BufNewFile,BufRead *.ron setf ron
" MikroTik RouterOS script
au BufRead,BufNewFile *.rsc setf routeros
+" Rpcgen
+au BufNewFile,BufRead *.x setf rpcgen
+
" reStructuredText Documentation Format
au BufNewFile,BufRead *.rst setf rst
diff --git a/src/testdir/test_filetype.vim b/src/testdir/test_filetype.vim
index 9cbc585..ed4a863 100644
--- a/src/testdir/test_filetype.vim
+++ b/src/testdir/test_filetype.vim
@@ -488,6 +488,7 @@
\ 'rnoweb': ['file.rnw', 'file.snw'],
\ 'robot': ['file.robot', 'file.resource'],
\ 'robots': ['robots.txt'],
+ \ 'ron': ['file.ron'],
\ 'routeros': ['file.rsc'],
\ 'rpcgen': ['file.x'],
\ 'rpl': ['file.rpl'],
diff --git a/src/version.c b/src/version.c
index d185852..2f5e3bf 100644
--- a/src/version.c
+++ b/src/version.c
@@ -696,6 +696,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1282,
+/**/
1281,
/**/
1280,