Patch 8.2.4855

7 views
Skip to first unread message

Bram Moolenaar

unread,
May 2, 2022, 5:30:47 AM5/2/22
to vim...@googlegroups.com

Patch 8.2.4855
Problem: Robot files are not recognized.
Solution: Add patterns for robot files. (Zoe Roux, closes #10339)
Files: runtime/filetype.vim, src/testdir/test_filetype.vim


*** ../vim-8.2.4854/runtime/filetype.vim 2022-04-30 15:10:03.100515465 +0100
--- runtime/filetype.vim 2022-05-02 10:27:30.881988513 +0100
***************
*** 1592,1597 ****
--- 1592,1600 ----
" RPL/2
au BufNewFile,BufRead *.rpl setf rpl

+ " Robot Framework
+ au BufNewFile,BufRead *.robot,*.resource setf robot
+
" Robots.txt
au BufNewFile,BufRead robots.txt setf robots

*** ../vim-8.2.4854/src/testdir/test_filetype.vim 2022-04-30 15:10:03.100515465 +0100
--- src/testdir/test_filetype.vim 2022-05-02 10:27:30.881988513 +0100
***************
*** 457,462 ****
--- 457,463 ----
\ 'rib': ['file.rib'],
\ 'rnc': ['file.rnc'],
\ 'rng': ['file.rng'],
+ \ 'robot': ['file.robot', 'file.resource'],
\ 'robots': ['robots.txt'],
\ 'routeros': ['file.rsc'],
\ 'rpcgen': ['file.x'],
*** ../vim-8.2.4854/src/version.c 2022-05-02 00:06:48.178821209 +0100
--- src/version.c 2022-05-02 10:29:05.933797454 +0100
***************
*** 748,749 ****
--- 748,751 ----
{ /* Add new patch number below this line */
+ /**/
+ 4855,
/**/

--
Do not trust atoms, they make up everything.

/// Bram Moolenaar -- Br...@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 ///
Reply all
Reply to author
Forward
0 new messages