Mercurial > vim
comparison runtime/syntax/texinfo.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 | 3a63b1e4a6f4 |
comparison
equal
deleted
inserted
replaced
10050:b702edc4b2b8 | 10051:46763b01cd9a |
---|---|
353 syn cluster texinfoReducedAll contains=texinfoSpecialChar,texinfoBrcPrmAtCmd | 353 syn cluster texinfoReducedAll contains=texinfoSpecialChar,texinfoBrcPrmAtCmd |
354 "============================================================================== | 354 "============================================================================== |
355 " highlighting | 355 " highlighting |
356 | 356 |
357 " Only when an item doesn't have highlighting yet | 357 " Only when an item doesn't have highlighting yet |
358 command -nargs=+ HiLink hi def link <args> | 358 |
359 | 359 hi def link texinfoSpecialChar Special |
360 HiLink texinfoSpecialChar Special | 360 hi def link texinfoHFSpecialChar Special |
361 HiLink texinfoHFSpecialChar Special | 361 |
362 | 362 hi def link texinfoError Error |
363 HiLink texinfoError Error | 363 hi def link texinfoIdent Identifier |
364 HiLink texinfoIdent Identifier | 364 hi def link texinfoAssignment Identifier |
365 HiLink texinfoAssignment Identifier | 365 hi def link texinfoSinglePar Identifier |
366 HiLink texinfoSinglePar Identifier | 366 hi def link texinfoIndexPar Identifier |
367 HiLink texinfoIndexPar Identifier | 367 hi def link texinfoSIPar Identifier |
368 HiLink texinfoSIPar Identifier | 368 hi def link texinfoDIEPar Identifier |
369 HiLink texinfoDIEPar Identifier | 369 hi def link texinfoTexCmd PreProc |
370 HiLink texinfoTexCmd PreProc | 370 |
371 | 371 |
372 | 372 hi def link texinfoAtCmd Statement "@-command |
373 HiLink texinfoAtCmd Statement "@-command | 373 hi def link texinfoPrmAtCmd String "@-command in one line with unknown nr. of parameters |
374 HiLink texinfoPrmAtCmd String "@-command in one line with unknown nr. of parameters | |
375 "is String because is found as a region and is 'matchgroup'-ed | 374 "is String because is found as a region and is 'matchgroup'-ed |
376 "to texinfoAtCmd | 375 "to texinfoAtCmd |
377 HiLink texinfoBrcPrmAtCmd String "@-command with parameter(s) in braces ({}) | 376 hi def link texinfoBrcPrmAtCmd String "@-command with parameter(s) in braces ({}) |
378 "is String because is found as a region and is 'matchgroup'-ed to texinfoAtCmd | 377 "is String because is found as a region and is 'matchgroup'-ed to texinfoAtCmd |
379 HiLink texinfoMltlnAtCmdFLine texinfoAtCmd "repeated embedded First lines in @-commands | 378 hi def link texinfoMltlnAtCmdFLine texinfoAtCmd "repeated embedded First lines in @-commands |
380 HiLink texinfoMltlnAtCmd String "@-command in multiple lines | 379 hi def link texinfoMltlnAtCmd String "@-command in multiple lines |
381 "is String because is found as a region and is 'matchgroup'-ed to texinfoAtCmd | 380 "is String because is found as a region and is 'matchgroup'-ed to texinfoAtCmd |
382 HiLink texinfoMltln2AtCmd PreProc "@-command in multiple lines (same as texinfoMltlnAtCmd, just with other colors) | 381 hi def link texinfoMltln2AtCmd PreProc "@-command in multiple lines (same as texinfoMltlnAtCmd, just with other colors) |
383 HiLink texinfoMltlnDMAtCmd PreProc "@-command in multiple lines (same as texinfoMltlnAtCmd, just with other colors; used for @detailmenu, which can be included in @menu) | 382 hi def link texinfoMltlnDMAtCmd PreProc "@-command in multiple lines (same as texinfoMltlnAtCmd, just with other colors; used for @detailmenu, which can be included in @menu) |
384 HiLink texinfoMltlnNAtCmd Normal "@-command in multiple lines (same as texinfoMltlnAtCmd, just with other colors) | 383 hi def link texinfoMltlnNAtCmd Normal "@-command in multiple lines (same as texinfoMltlnAtCmd, just with other colors) |
385 HiLink texinfoThisAtCmd Statement "@-command used in headers and footers (@this... series) | 384 hi def link texinfoThisAtCmd Statement "@-command used in headers and footers (@this... series) |
386 | 385 |
387 HiLink texinfoComment Comment | 386 hi def link texinfoComment Comment |
388 | 387 |
389 delcommand HiLink | |
390 | 388 |
391 | 389 |
392 let b:current_syntax = "texinfo" | 390 let b:current_syntax = "texinfo" |
393 | 391 |
394 if main_syntax == 'texinfo' | 392 if main_syntax == 'texinfo' |