summaryrefslogtreecommitdiffstats
path: root/runtime/filetype.vim
diff options
context:
space:
mode:
authorzainin <thexsinner@gmail.com>2021-11-15 21:44:11 +0000
committerBram Moolenaar <Bram@vim.org>2021-11-15 21:44:11 +0000
commit0818ab82e7058145366ebbe759f0b3f74724bdfd (patch)
treefb46176270373e94f3b784cfbe908f3533e69c79 /runtime/filetype.vim
parent36968af1558b295b5fdf56973d5dcc75fce85658 (diff)
patch 8.2.3598: RouterOS filetype is not recognizedv8.2.3598
Problem: RouterOS filetype is not recognized. Solution: Add file and script patterns. (closes #9097)
Diffstat (limited to 'runtime/filetype.vim')
-rw-r--r--runtime/filetype.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim
index 3621f29e25..befa21dc9a 100644
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -1493,6 +1493,9 @@ 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