Mercurial > vim
comparison runtime/syntax/sql.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 | 18ee39301b82 |
children |
comparison
equal
deleted
inserted
replaced
10047:a62862410ca1 | 10048:43efa4f5a8ea |
---|---|
8 " buffer local variable, | 8 " buffer local variable, |
9 " global variable, | 9 " global variable, |
10 " If the above exist, it will source the type specified. | 10 " If the above exist, it will source the type specified. |
11 " If none exist, it will source the default sql.vim file. | 11 " If none exist, it will source the default sql.vim file. |
12 " | 12 " |
13 " For version 5.x: Clear all syntax items | 13 " quit when a syntax file was already loaded |
14 " For version 6.x: Quit when a syntax file was already loaded | 14 if exists("b:current_syntax") |
15 if version < 600 | |
16 syntax clear | |
17 elseif exists("b:current_syntax") | |
18 finish | 15 finish |
19 endif | 16 endif |
20 | 17 |
21 " Default to the standard Vim distribution file | 18 " Default to the standard Vim distribution file |
22 let filename = 'sqloracle' | 19 let filename = 'sqloracle' |