comparison runtime/syntax/plsql.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 3fc0f57ecb91
children 46763b01cd9a
comparison
equal deleted inserted replaced
10047:a62862410ca1 10048:43efa4f5a8ea
7 " History: Geoff Evans & Bill Pribyl (bill at plnet dot org) 7 " History: Geoff Evans & Bill Pribyl (bill at plnet dot org)
8 " Added 9i keywords. 8 " Added 9i keywords.
9 " Austin Ziegler (austin at halostatue dot ca) 9 " Austin Ziegler (austin at halostatue dot ca)
10 " Added 8i+ features. 10 " Added 8i+ features.
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 " Todo. 17 " Todo.
21 syn keyword plsqlTodo TODO FIXME XXX DEBUG NOTE 18 syn keyword plsqlTodo TODO FIXME XXX DEBUG NOTE
221 218
222 " Syntax Synchronizing 219 " Syntax Synchronizing
223 syn sync minlines=10 maxlines=100 220 syn sync minlines=10 maxlines=100
224 221
225 " Define the default highlighting. 222 " Define the default highlighting.
226 " For version 5.x and earlier, only when not done already. 223 " Only when an item doesn't have highlighting yet.
227 " For version 5.8 and later, only when an item doesn't have highlighting yet. 224 command -nargs=+ HiLink hi def link <args>
228 if version >= 508 || !exists("did_plsql_syn_inits") 225
229 if version < 508 226 HiLink plsqlAttribute Macro
230 let did_plsql_syn_inits = 1 227 HiLink plsqlBlockError Error
231 command -nargs=+ HiLink hi link <args> 228 HiLink plsqlBooleanLiteral Boolean
232 else 229 HiLink plsqlCharLiteral Character
233 command -nargs=+ HiLink hi def link <args> 230 HiLink plsqlComment Comment
234 endif 231 HiLink plsqlCommentL Comment
235 232 HiLink plsqlConditional Conditional
236 HiLink plsqlAttribute Macro 233 HiLink plsqlError Error
237 HiLink plsqlBlockError Error 234 HiLink plsqlErrInBracket Error
238 HiLink plsqlBooleanLiteral Boolean 235 HiLink plsqlErrInBlock Error
239 HiLink plsqlCharLiteral Character 236 HiLink plsqlErrInParen Error
240 HiLink plsqlComment Comment 237 HiLink plsqlException Function
241 HiLink plsqlCommentL Comment 238 HiLink plsqlFloatLiteral Float
242 HiLink plsqlConditional Conditional 239 HiLink plsqlFunction Function
243 HiLink plsqlError Error 240 HiLink plsqlGarbage Error
244 HiLink plsqlErrInBracket Error 241 HiLink plsqlHostIdentifier Label
245 HiLink plsqlErrInBlock Error 242 HiLink plsqlIdentifier Normal
246 HiLink plsqlErrInParen Error 243 HiLink plsqlIntLiteral Number
247 HiLink plsqlException Function 244 HiLink plsqlOperator Operator
248 HiLink plsqlFloatLiteral Float 245 HiLink plsqlParen Normal
249 HiLink plsqlFunction Function 246 HiLink plsqlParenError Error
250 HiLink plsqlGarbage Error 247 HiLink plsqlSpaceError Error
251 HiLink plsqlHostIdentifier Label 248 HiLink plsqlPseudo PreProc
252 HiLink plsqlIdentifier Normal 249 HiLink plsqlKeyword Keyword
253 HiLink plsqlIntLiteral Number 250 HiLink plsqlRepeat Repeat
254 HiLink plsqlOperator Operator 251 HiLink plsqlStorage StorageClass
255 HiLink plsqlParen Normal 252 HiLink plsqlSQLKeyword Function
256 HiLink plsqlParenError Error 253 HiLink plsqlStringError Error
257 HiLink plsqlSpaceError Error 254 HiLink plsqlStringLiteral String
258 HiLink plsqlPseudo PreProc 255 HiLink plsqlCommentString String
259 HiLink plsqlKeyword Keyword 256 HiLink plsqlComment2String String
260 HiLink plsqlRepeat Repeat 257 HiLink plsqlSymbol Normal
261 HiLink plsqlStorage StorageClass 258 HiLink plsqlTrigger Function
262 HiLink plsqlSQLKeyword Function 259 HiLink plsqlTypeAttribute StorageClass
263 HiLink plsqlStringError Error 260 HiLink plsqlTodo Todo
264 HiLink plsqlStringLiteral String 261
265 HiLink plsqlCommentString String 262 delcommand HiLink
266 HiLink plsqlComment2String String
267 HiLink plsqlSymbol Normal
268 HiLink plsqlTrigger Function
269 HiLink plsqlTypeAttribute StorageClass
270 HiLink plsqlTodo Todo
271
272 delcommand HiLink
273 endif
274 263
275 let b:current_syntax = "plsql" 264 let b:current_syntax = "plsql"
276 265
277 " vim: ts=8 sw=2 266 " vim: ts=8 sw=2