Mercurial > vim
comparison runtime/syntax/reva.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 | 8dcf3ea92b63 |
children | 03b854983b14 |
comparison
equal
deleted
inserted
replaced
10047:a62862410ca1 | 10048:43efa4f5a8ea |
---|---|
5 " Maintainer: Ron Aaron <ron@ronware.org> | 5 " Maintainer: Ron Aaron <ron@ronware.org> |
6 " URL: http://ronware.org/reva/ | 6 " URL: http://ronware.org/reva/ |
7 " Filetypes: *.rf *.frt | 7 " Filetypes: *.rf *.frt |
8 " NOTE: You should also have the ftplugin/reva.vim file to set 'isk' | 8 " NOTE: You should also have the ftplugin/reva.vim file to set 'isk' |
9 | 9 |
10 " For version 5.x: Clear all syntax items and don't load | 10 " quit when a syntax file was already loaded |
11 " For version 6.x: Quit when a syntax file was already loaded | 11 if exists("b:current_syntax") |
12 if version < 600 | |
13 syntax clear | |
14 echo "Reva syntax file requires version 6.0 or later of vim!" | |
15 finish | |
16 elseif exists("b:current_syntax") | |
17 finish | 12 finish |
18 endif | 13 endif |
19 | 14 |
20 let s:cpo_save = &cpo | 15 let s:cpo_save = &cpo |
21 set cpo&vim | 16 set cpo&vim |