Problem: RouterOS filetype is not recognized.
Solution: Add file and script patterns. (closes #9097)
" 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
\ 'rnc': ['file.rnc'],
\ 'rng': ['file.rng'],
\ 'robots': ['robots.txt'],
+ \ 'routeros': ['file.rsc'],
\ 'rpcgen': ['file.x'],
\ 'rpl': ['file.rpl'],
\ 'rst': ['file.rst'],
\ 'yaml': [['%YAML 1.2']],
\ 'pascal': [['#!/path/instantfpc']],
\ 'fennel': [['#!/path/fennel']],
+ \ 'routeros': [['#!/path/rsc']],
\ }
" Various forms of "env" optional arguments.
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 3598,
/**/
3597,
/**/