To: vim_dev@googlegroups.com Subject: Patch 9.0.1282 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 9.0.1282 Problem: Ron files are not recognized. Solution: Recognize Ron files. (Amaan Qureshi, closes #11948) Files: runtime/filetype.vim, src/testdir/test_filetype.vim *** ../vim-9.0.1281/runtime/filetype.vim 2023-02-05 13:01:36.843915195 +0000 --- runtime/filetype.vim 2023-02-05 14:42:56.122968898 +0000 *************** *** 1717,1728 **** " Robots.txt au BufNewFile,BufRead robots.txt setf robots ! " Rpcgen ! au BufNewFile,BufRead *.x setf rpcgen " MikroTik RouterOS script au BufRead,BufNewFile *.rsc setf routeros " reStructuredText Documentation Format au BufNewFile,BufRead *.rst setf rst --- 1717,1731 ---- " Robots.txt au BufNewFile,BufRead robots.txt setf robots ! " 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 *** ../vim-9.0.1281/src/testdir/test_filetype.vim 2023-02-05 13:01:36.843915195 +0000 --- src/testdir/test_filetype.vim 2023-02-05 14:42:56.126968901 +0000 *************** *** 488,493 **** --- 488,494 ---- \ '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'], *** ../vim-9.0.1281/src/version.c 2023-02-05 13:01:36.843915195 +0000 --- src/version.c 2023-02-05 14:46:49.759157234 +0000 *************** *** 697,698 **** --- 697,700 ---- { /* Add new patch number below this line */ + /**/ + 1282, /**/ -- From "know your smileys": +<(:-) The Pope /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///