comparison runtime/syntax/php.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 883396809b45
comparison
equal deleted inserted replaced
10050:b702edc4b2b8 10051:46763b01cd9a
596 syntax match phpDocTags "@\(abstract\|access\|author\|category\|copyright\|deprecated\|example\|final\|global\|ignore\|internal\|license\|link\|method\|name\|package\|param\|property\|return\|see\|since\|static\|staticvar\|subpackage\|tutorial\|uses\|var\|version\|contributor\|modified\|filename\|description\|filesource\|throws\)\(\s\+\)\?" containedin=phpComment 596 syntax match phpDocTags "@\(abstract\|access\|author\|category\|copyright\|deprecated\|example\|final\|global\|ignore\|internal\|license\|link\|method\|name\|package\|param\|property\|return\|see\|since\|static\|staticvar\|subpackage\|tutorial\|uses\|var\|version\|contributor\|modified\|filename\|description\|filesource\|throws\)\(\s\+\)\?" containedin=phpComment
597 syntax match phpDocTodo "@\(todo\|fixme\|xxx\)\(\s\+\)\?" containedin=phpComment 597 syntax match phpDocTodo "@\(todo\|fixme\|xxx\)\(\s\+\)\?" containedin=phpComment
598 598
599 " Define the default highlighting. 599 " Define the default highlighting.
600 " Only when an item doesn't have highlighting yet 600 " Only when an item doesn't have highlighting yet
601 command -nargs=+ HiLink hi def link <args> 601
602 602 hi def link phpConstant Constant
603 HiLink phpConstant Constant 603 hi def link phpCoreConstant Constant
604 HiLink phpCoreConstant Constant 604 hi def link phpComment Comment
605 HiLink phpComment Comment 605 hi def link phpDocTags PreProc
606 HiLink phpDocTags PreProc 606 hi def link phpDocCustomTags Type
607 HiLink phpDocCustomTags Type 607 hi def link phpException Exception
608 HiLink phpException Exception 608 hi def link phpBoolean Boolean
609 HiLink phpBoolean Boolean 609 hi def link phpStorageClass StorageClass
610 HiLink phpStorageClass StorageClass 610 hi def link phpSCKeyword StorageClass
611 HiLink phpSCKeyword StorageClass 611 hi def link phpFCKeyword Define
612 HiLink phpFCKeyword Define 612 hi def link phpStructure Structure
613 HiLink phpStructure Structure 613 hi def link phpStringSingle String
614 HiLink phpStringSingle String 614 hi def link phpStringDouble String
615 HiLink phpStringDouble String 615 hi def link phpBacktick String
616 HiLink phpBacktick String 616 hi def link phpNumber Number
617 HiLink phpNumber Number 617 hi def link phpFloat Float
618 HiLink phpFloat Float 618 hi def link phpMethods Function
619 HiLink phpMethods Function 619 hi def link phpFunctions Function
620 HiLink phpFunctions Function 620 hi def link phpBaselib Function
621 HiLink phpBaselib Function 621 hi def link phpRepeat Repeat
622 HiLink phpRepeat Repeat 622 hi def link phpConditional Conditional
623 HiLink phpConditional Conditional 623 hi def link phpLabel Label
624 HiLink phpLabel Label 624 hi def link phpStatement Statement
625 HiLink phpStatement Statement 625 hi def link phpKeyword Statement
626 HiLink phpKeyword Statement 626 hi def link phpType Type
627 HiLink phpType Type 627 hi def link phpInclude Include
628 HiLink phpInclude Include 628 hi def link phpDefine Define
629 HiLink phpDefine Define 629 hi def link phpBackslashSequences SpecialChar
630 HiLink phpBackslashSequences SpecialChar 630 hi def link phpBackslashDoubleQuote SpecialChar
631 HiLink phpBackslashDoubleQuote SpecialChar 631 hi def link phpBackslashSingleQuote SpecialChar
632 HiLink phpBackslashSingleQuote SpecialChar 632 hi def link phpParent Delimiter
633 HiLink phpParent Delimiter 633 hi def link phpBrackets Delimiter
634 HiLink phpBrackets Delimiter 634 hi def link phpIdentifierConst Delimiter
635 HiLink phpIdentifierConst Delimiter 635 hi def link phpParentError Error
636 HiLink phpParentError Error 636 hi def link phpOctalError Error
637 HiLink phpOctalError Error 637 hi def link phpInterpSimpleError Error
638 HiLink phpInterpSimpleError Error 638 hi def link phpInterpBogusDollarCurley Error
639 HiLink phpInterpBogusDollarCurley Error 639 hi def link phpInterpDollarCurly1 Error
640 HiLink phpInterpDollarCurly1 Error 640 hi def link phpInterpDollarCurly2 Error
641 HiLink phpInterpDollarCurly2 Error 641 hi def link phpInterpSimpleBracketsInner String
642 HiLink phpInterpSimpleBracketsInner String 642 hi def link phpInterpSimpleCurly Delimiter
643 HiLink phpInterpSimpleCurly Delimiter 643 hi def link phpInterpVarname Identifier
644 HiLink phpInterpVarname Identifier 644 hi def link phpTodo Todo
645 HiLink phpTodo Todo 645 hi def link phpDocTodo Todo
646 HiLink phpDocTodo Todo 646 hi def link phpMemberSelector Structure
647 HiLink phpMemberSelector Structure
648 if exists("php_oldStyle") 647 if exists("php_oldStyle")
649 hi phpIntVar guifg=Red ctermfg=DarkRed 648 hi phpIntVar guifg=Red ctermfg=DarkRed
650 hi phpEnvVar guifg=Red ctermfg=DarkRed 649 hi phpEnvVar guifg=Red ctermfg=DarkRed
651 hi phpOperator guifg=SeaGreen ctermfg=DarkGreen 650 hi phpOperator guifg=SeaGreen ctermfg=DarkGreen
652 hi phpVarSelector guifg=SeaGreen ctermfg=DarkGreen 651 hi phpVarSelector guifg=SeaGreen ctermfg=DarkGreen
653 hi phpRelation guifg=SeaGreen ctermfg=DarkGreen 652 hi phpRelation guifg=SeaGreen ctermfg=DarkGreen
654 hi phpIdentifier guifg=DarkGray ctermfg=Brown 653 hi phpIdentifier guifg=DarkGray ctermfg=Brown
655 hi phpIdentifierSimply guifg=DarkGray ctermfg=Brown 654 hi phpIdentifierSimply guifg=DarkGray ctermfg=Brown
656 else 655 else
657 HiLink phpIntVar Identifier 656 hi def link phpIntVar Identifier
658 HiLink phpEnvVar Identifier 657 hi def link phpEnvVar Identifier
659 HiLink phpOperator Operator 658 hi def link phpOperator Operator
660 HiLink phpVarSelector Operator 659 hi def link phpVarSelector Operator
661 HiLink phpRelation Operator 660 hi def link phpRelation Operator
662 HiLink phpIdentifier Identifier 661 hi def link phpIdentifier Identifier
663 HiLink phpIdentifierSimply Identifier 662 hi def link phpIdentifierSimply Identifier
664 endif 663 endif
665 664
666 delcommand HiLink
667 665
668 let b:current_syntax = "php" 666 let b:current_syntax = "php"
669 667
670 if main_syntax == 'php' 668 if main_syntax == 'php'
671 unlet main_syntax 669 unlet main_syntax