Mercurial > vim
comparison runtime/syntax/sqlinformix.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 | cc049b00ee70 |
children | 46763b01cd9a |
comparison
equal
deleted
inserted
replaced
10047:a62862410ca1 | 10048:43efa4f5a8ea |
---|---|
2 " Informix Structured Query Language (SQL) and Stored Procedure Language (SPL) | 2 " Informix Structured Query Language (SQL) and Stored Procedure Language (SPL) |
3 " Language: SQL, SPL (Informix Dynamic Server 2000 v9.2) | 3 " Language: SQL, SPL (Informix Dynamic Server 2000 v9.2) |
4 " Maintainer: Dean Hill <dhill@hotmail.com> | 4 " Maintainer: Dean Hill <dhill@hotmail.com> |
5 " Last Change: 2004 Aug 30 | 5 " Last Change: 2004 Aug 30 |
6 | 6 |
7 " For version 5.x: Clear all syntax items | 7 " quit when a syntax file was already loaded |
8 " For version 6.x: Quit when a syntax file was already loaded | 8 if exists("b:current_syntax") |
9 if version < 600 | |
10 syntax clear | |
11 elseif exists("b:current_syntax") | |
12 finish | 9 finish |
13 endif | 10 endif |
14 | 11 |
15 syn case ignore | 12 syn case ignore |
16 | 13 |
152 syn keyword sqlTodo TODO FIXME XXX DEBUG NOTE | 149 syn keyword sqlTodo TODO FIXME XXX DEBUG NOTE |
153 | 150 |
154 | 151 |
155 | 152 |
156 " Define the default highlighting. | 153 " Define the default highlighting. |
157 " For version 5.7 and earlier: only when not done already | 154 " Only when an item doesn't have highlighting yet |
158 " For version 5.8 and later: only when an item doesn't have highlighting yet | 155 command -nargs=+ HiLink hi def link <args> |
159 if version >= 508 || !exists("did_sql_syn_inits") | |
160 if version < 508 | |
161 let did_sql_syn_inits = 1 | |
162 command -nargs=+ HiLink hi link <args> | |
163 else | |
164 command -nargs=+ HiLink hi def link <args> | |
165 endif | |
166 | 156 |
167 | 157 |
168 " === Comment syntax group === | 158 " === Comment syntax group === |
169 HiLink sqlComment Comment | 159 HiLink sqlComment Comment |
170 | 160 |
171 " === Constant syntax group === | 161 " === Constant syntax group === |
172 HiLink sqlNumber Number | 162 HiLink sqlNumber Number |
173 HiLink sqlBoolean Boolean | 163 HiLink sqlBoolean Boolean |
174 HiLink sqlString String | 164 HiLink sqlString String |
175 | 165 |
176 " === Statment syntax group === | 166 " === Statment syntax group === |
177 HiLink sqlStatement Statement | 167 HiLink sqlStatement Statement |
178 HiLink sqlConditional Conditional | 168 HiLink sqlConditional Conditional |
179 HiLink sqlRepeat Repeat | 169 HiLink sqlRepeat Repeat |
180 HiLink sqlKeyword Keyword | 170 HiLink sqlKeyword Keyword |
181 HiLink sqlOperator Operator | 171 HiLink sqlOperator Operator |
182 HiLink sqlException Exception | 172 HiLink sqlException Exception |
183 | 173 |
184 " === Identifier syntax group === | 174 " === Identifier syntax group === |
185 HiLink sqlFunction Function | 175 HiLink sqlFunction Function |
186 | 176 |
187 " === Type syntax group === | 177 " === Type syntax group === |
188 HiLink sqlType Type | 178 HiLink sqlType Type |
189 | 179 |
190 " === Todo syntax group === | 180 " === Todo syntax group === |
191 HiLink sqlTodo Todo | 181 HiLink sqlTodo Todo |
192 | 182 |
193 delcommand HiLink | 183 delcommand HiLink |
194 endif | |
195 | 184 |
196 let b:current_syntax = "sqlinformix" | 185 let b:current_syntax = "sqlinformix" |