Mercurial > vim
changeset 26135:7922e1972d58 v8.2.3600
patch 8.2.3600: filetype test fails
Commit: https://github.com/vim/vim/commit/314b773abbb9b1ce0020d83482c6daf7ad6a42a2
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Nov 16 11:53:13 2021 +0000
patch 8.2.3600: filetype test fails
Problem: Filetype test fails.
Solution: Add missint change.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 16 Nov 2021 13:00:05 +0100 |
parents | 9000a48b4c30 |
children | 8492808608d5 |
files | runtime/scripts.vim src/version.c |
diffstat | 2 files changed, 10 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/runtime/scripts.vim +++ b/runtime/scripts.vim @@ -190,6 +190,10 @@ if s:line1 =~# "^#!" elseif s:name =~# 'fennel\>' set ft=fennel + " MikroTik RouterOS script + elseif s:name =~# 'rsc\>' + set ft=routeros + endif unlet s:name @@ -390,6 +394,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