Mercurial > vim
comparison runtime/syntax/xf86conf.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 | 840c3cadb842 |
children | cc751d944b7e |
comparison
equal
deleted
inserted
replaced
10047:a62862410ca1 | 10048:43efa4f5a8ea |
---|---|
8 " | 8 " |
9 " Options: let xf86conf_xfree86_version = 3 or 4 | 9 " Options: let xf86conf_xfree86_version = 3 or 4 |
10 " to force XFree86 3.x or 4.x XF86Config syntax | 10 " to force XFree86 3.x or 4.x XF86Config syntax |
11 | 11 |
12 " Setup | 12 " Setup |
13 if version >= 600 | 13 " quit when a syntax file was already loaded |
14 if exists("b:current_syntax") | 14 if exists("b:current_syntax") |
15 finish | |
16 endif | |
17 else | |
18 echo "Sorry, but this syntax file relies on Vim 6 features. Either upgrade Vim or usea version of " . expand("<sfile>:t:r") . " syntax file appropriate for Vim " . version/100 . "." . version %100 . "." | |
19 finish | 15 finish |
20 endif | 16 endif |
21 | 17 |
22 if !exists("b:xf86conf_xfree86_version") | 18 if !exists("b:xf86conf_xfree86_version") |
23 if exists("xf86conf_xfree86_version") | 19 if exists("xf86conf_xfree86_version") |