Mercurial > vim
comparison runtime/syntax/lpc.vim @ 10051:46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Aug 31 22:22:10 2016 +0200
Updated runtime files. Remove HiLink commands.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Wed, 31 Aug 2016 22:30:08 +0200 |
parents | 43efa4f5a8ea |
children |
comparison
equal
deleted
inserted
replaced
10050:b702edc4b2b8 | 10051:46763b01cd9a |
---|---|
1 " Vim syntax file | 1 " Vim syntax file |
2 " Language: LPC | 2 " Language: LPC |
3 " Maintainer: Shizhu Pan <poet@mudbuilder.net> | 3 " Maintainer: Shizhu Pan <poet@mudbuilder.net> |
4 " URL: http://poet.tomud.com/pub/lpc.vim.bz2 | 4 " URL: http://poet.tomud.com/pub/lpc.vim.bz2 |
5 " Last Change: 2011 Dec 10 by Thilo Six | 5 " Last Change: 2016 Aug 31 |
6 " Comments: If you are using Vim 6.2 or later, see :h lpc.vim for | 6 " Comments: If you are using Vim 6.2 or later, see :h lpc.vim for |
7 " file type recognizing, if not, you had to use modeline. | 7 " file type recognizing, if not, you had to use modeline. |
8 | 8 |
9 | 9 |
10 " Nodule: This is the start nodule. {{{1 | 10 " Nodule: This is the start nodule. {{{1 |
356 | 356 |
357 " Nodule: Highlight links {{{1 | 357 " Nodule: Highlight links {{{1 |
358 | 358 |
359 " Define the default highlighting. | 359 " Define the default highlighting. |
360 " Only when an item doesn't have highlighting yet | 360 " Only when an item doesn't have highlighting yet |
361 command -nargs=+ HiLink hi def link <args> | 361 |
362 | 362 hi def link lpcModifier lpcStorageClass |
363 HiLink lpcModifier lpcStorageClass | 363 |
364 | 364 hi def link lpcQuotedFmt lpcFormat |
365 HiLink lpcQuotedFmt lpcFormat | 365 hi def link lpcFormat lpcSpecial |
366 HiLink lpcFormat lpcSpecial | 366 hi def link lpcCppString lpcString " Cpp means |
367 HiLink lpcCppString lpcString " Cpp means | |
368 " C Pre-Processor | 367 " C Pre-Processor |
369 HiLink lpcCommentL lpcComment | 368 hi def link lpcCommentL lpcComment |
370 HiLink lpcCommentStart lpcComment | 369 hi def link lpcCommentStart lpcComment |
371 HiLink lpcUserLabel lpcLabel | 370 hi def link lpcUserLabel lpcLabel |
372 HiLink lpcSpecialCharacter lpcSpecial | 371 hi def link lpcSpecialCharacter lpcSpecial |
373 HiLink lpcOctal lpcPreProc | 372 hi def link lpcOctal lpcPreProc |
374 HiLink lpcOctalZero lpcSpecial " LPC will treat octal numbers | 373 hi def link lpcOctalZero lpcSpecial " LPC will treat octal numbers |
375 " as decimals, programmers should | 374 " as decimals, programmers should |
376 " be aware of that. | 375 " be aware of that. |
377 HiLink lpcEfunError lpcError | 376 hi def link lpcEfunError lpcError |
378 HiLink lpcKeywdError lpcError | 377 hi def link lpcKeywdError lpcError |
379 HiLink lpcOctalError lpcError | 378 hi def link lpcOctalError lpcError |
380 HiLink lpcParenError lpcError | 379 hi def link lpcParenError lpcError |
381 HiLink lpcErrInParen lpcError | 380 hi def link lpcErrInParen lpcError |
382 HiLink lpcErrInBracket lpcError | 381 hi def link lpcErrInBracket lpcError |
383 HiLink lpcCommentError lpcError | 382 hi def link lpcCommentError lpcError |
384 HiLink lpcCommentStartError lpcError | 383 hi def link lpcCommentStartError lpcError |
385 HiLink lpcSpaceError lpcError | 384 hi def link lpcSpaceError lpcError |
386 HiLink lpcSpecialError lpcError | 385 hi def link lpcSpecialError lpcError |
387 HiLink lpcErrFunc lpcError | 386 hi def link lpcErrFunc lpcError |
388 | 387 |
389 if exists("lpc_pre_v22") | 388 if exists("lpc_pre_v22") |
390 HiLink lpcOldEfuns lpc_efuns | 389 hi def link lpcOldEfuns lpc_efuns |
391 HiLink lpcNewEfuns lpcError | 390 hi def link lpcNewEfuns lpcError |
392 else | 391 else |
393 HiLink lpcOldEfuns lpcReserved | 392 hi def link lpcOldEfuns lpcReserved |
394 HiLink lpcNewEfuns lpc_efuns | 393 hi def link lpcNewEfuns lpc_efuns |
395 endif | 394 endif |
396 HiLink lpc_efuns lpcFunction | 395 hi def link lpc_efuns lpcFunction |
397 | 396 |
398 HiLink lpcReserved lpcPreProc | 397 hi def link lpcReserved lpcPreProc |
399 HiLink lpcTextString lpcString " This should be preprocessors, but | 398 hi def link lpcTextString lpcString " This should be preprocessors, but |
400 HiLink lpcArrayString lpcPreProc " let's make some difference | 399 hi def link lpcArrayString lpcPreProc " let's make some difference |
401 " between text and array | 400 " between text and array |
402 | 401 |
403 HiLink lpcIncluded lpcString | 402 hi def link lpcIncluded lpcString |
404 HiLink lpcCommentString lpcString | 403 hi def link lpcCommentString lpcString |
405 HiLink lpcComment2String lpcString | 404 hi def link lpcComment2String lpcString |
406 HiLink lpcCommentSkip lpcComment | 405 hi def link lpcCommentSkip lpcComment |
407 HiLink lpcCommentFunc lpcComment | 406 hi def link lpcCommentFunc lpcComment |
408 | 407 |
409 HiLink lpcCppSkip lpcCppOut | 408 hi def link lpcCppSkip lpcCppOut |
410 HiLink lpcCppOut2 lpcCppOut | 409 hi def link lpcCppOut2 lpcCppOut |
411 HiLink lpcCppOut lpcComment | 410 hi def link lpcCppOut lpcComment |
412 | 411 |
413 " Standard type below | 412 " Standard type below |
414 HiLink lpcApplies Special | 413 hi def link lpcApplies Special |
415 HiLink lpcCharacter Character | 414 hi def link lpcCharacter Character |
416 HiLink lpcComment Comment | 415 hi def link lpcComment Comment |
417 HiLink lpcConditional Conditional | 416 hi def link lpcConditional Conditional |
418 HiLink lpcConstant Constant | 417 hi def link lpcConstant Constant |
419 HiLink lpcDefine Macro | 418 hi def link lpcDefine Macro |
420 HiLink lpcError Error | 419 hi def link lpcError Error |
421 HiLink lpcFloat Float | 420 hi def link lpcFloat Float |
422 HiLink lpcFunction Function | 421 hi def link lpcFunction Function |
423 HiLink lpcIdentifier Identifier | 422 hi def link lpcIdentifier Identifier |
424 HiLink lpcInclude Include | 423 hi def link lpcInclude Include |
425 HiLink lpcLabel Label | 424 hi def link lpcLabel Label |
426 HiLink lpcNumber Number | 425 hi def link lpcNumber Number |
427 HiLink lpcOperator Operator | 426 hi def link lpcOperator Operator |
428 HiLink lpcPreCondit PreCondit | 427 hi def link lpcPreCondit PreCondit |
429 HiLink lpcPreProc PreProc | 428 hi def link lpcPreProc PreProc |
430 HiLink lpcRepeat Repeat | 429 hi def link lpcRepeat Repeat |
431 HiLink lpcStatement Statement | 430 hi def link lpcStatement Statement |
432 HiLink lpcStorageClass StorageClass | 431 hi def link lpcStorageClass StorageClass |
433 HiLink lpcString String | 432 hi def link lpcString String |
434 HiLink lpcStructure Structure | 433 hi def link lpcStructure Structure |
435 HiLink lpcSpecial LineNr | 434 hi def link lpcSpecial LineNr |
436 HiLink lpcTodo Todo | 435 hi def link lpcTodo Todo |
437 HiLink lpcType Type | 436 hi def link lpcType Type |
438 | 437 |
439 delcommand HiLink | |
440 | 438 |
441 " Nodule: This is the end nodule. {{{1 | 439 " Nodule: This is the end nodule. {{{1 |
442 | 440 |
443 let b:current_syntax = "lpc" | 441 let b:current_syntax = "lpc" |
444 | 442 |