Mercurial > vim
comparison runtime/syntax/ipfilter.vim @ 10048:43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Aug 30 23:26:57 2016 +0200
Updated runtime files. Remove version checks for Vim older than 6.0.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 30 Aug 2016 23:30:09 +0200 |
parents | 5cc0aca13a3f |
children | 1e9e9d89f0ee |
comparison
equal
deleted
inserted
replaced
10047:a62862410ca1 | 10048:43efa4f5a8ea |
---|---|
7 " | 7 " |
8 " This will also work for OpenBSD pf but there might be some tags that are | 8 " This will also work for OpenBSD pf but there might be some tags that are |
9 " not correctly identified. | 9 " not correctly identified. |
10 " Please send comments to hendrik@scholz.net | 10 " Please send comments to hendrik@scholz.net |
11 | 11 |
12 " For version 5.x: Clear all syntax items | 12 " quit when a syntax file was already loaded |
13 " For version 6.x: Quit when a syntax file was already loaded | 13 if exists("b:current_syntax") |
14 if version < 600 | |
15 syntax clear | |
16 elseif exists("b:current_syntax") | |
17 finish | 14 finish |
18 endif | 15 endif |
19 | 16 |
20 " Comment | 17 " Comment |
21 syn match IPFComment /#.*$/ contains=ipfTodo | 18 syn match IPFComment /#.*$/ contains=ipfTodo |