diff options
Diffstat (limited to 'runtime/scripts.vim')
-rw-r--r-- | runtime/scripts.vim | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/runtime/scripts.vim b/runtime/scripts.vim index 0b3fdc3514..3790b1c10f 100644 --- a/runtime/scripts.vim +++ b/runtime/scripts.vim @@ -190,6 +190,18 @@ if s:line1 =~# "^#!" elseif s:name =~# 'fennel\>' set ft=fennel + " MikroTik RouterOS script + elseif s:name =~# 'rsc\>' + set ft=routeros + + " Fish shell + elseif s:name =~# 'fish\>' + set ft=fish + + " Gforth + elseif s:name =~# 'gforth\>' + set ft=forth + endif unlet s:name @@ -390,6 +402,10 @@ else elseif s:line1 =~# '^%YAML' set ft=yaml + " MikroTik RouterOS script + elseif s:line1 =~# '^#.*by RouterOS.*$' + set ft=routeros + " CVS diff else let s:lnum = 1 |