Patch 8.2.3598
Problem: RouterOS filetype is not recognized.
Solution: Add file and script patterns. (closes #9097)
Files: runtime/filetype.vim, src/testdir/test_filetype.vim
*** ../vim-8.2.3597/runtime/filetype.vim 2021-10-16 13:44:01.208331391
+0100
--- runtime/filetype.vim 2021-11-15 21:41:21.553094796 +0000
***************
*** 1493,1498 ****
--- 1493,1501 ----
" 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
*** ../vim-8.2.3597/src/testdir/test_filetype.vim 2021-10-16
13:44:01.208331391 +0100
--- src/testdir/test_filetype.vim 2021-11-15 21:41:21.553094796 +0000
***************
*** 420,425 ****
--- 420,426 ----
\ 'rnc': ['file.rnc'],
\ 'rng': ['file.rng'],
\ 'robots': ['robots.txt'],
+ \ 'routeros': ['file.rsc'],
\ 'rpcgen': ['file.x'],
\ 'rpl': ['file.rpl'],
\ 'rst': ['file.rst'],
***************
*** 660,665 ****
--- 661,667 ----
\ 'yaml': [['%YAML 1.2']],
\ 'pascal': [['#!/path/instantfpc']],
\ 'fennel': [['#!/path/fennel']],
+ \ 'routeros': [['#!/path/rsc']],
\ }
" Various forms of "env" optional arguments.
*** ../vim-8.2.3597/src/version.c 2021-11-15 17:13:07.342685617 +0000
--- src/version.c 2021-11-15 21:42:38.860940932 +0000
***************
*** 759,760 ****
--- 759,762 ----
{ /* Add new patch number below this line */
+ /**/
+ 3598,
/**/
--
ARTHUR: Then who is your lord?
WOMAN: We don't have a lord.
ARTHUR: What?
DENNIS: I told you. We're an anarcho-syndicalist commune. We take it in
turns to act as a sort of executive officer for the week.
The Quest for the Holy Grail (Monty Python)
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/20211115214443.393F01C0A03%40moolenaar.net.