StanAngeloff / php.vim

An up-to-date Vim syntax for PHP (7.x supported)
477 stars 69 forks source link

Enhance phpDocTags #28

Closed StanAngeloff closed 10 years ago

StanAngeloff commented 10 years ago

Furthermore, I strongly suggest adding file|class|brief|details|author|created|date|todo|bug|warning| to the list of phpDocTags. @rszabo

See https://github.com/StanAngeloff/php.vim/issues/27#issue-39388609

ghost commented 10 years ago

Also there is useless(or not working for some reason) highlighting of phptags, all tags are highlighted with phpComment color:

Lines 792-797, syntax/php.vim:

hi def link phpCommentStar      phpComment
hi def link phpDocComment       phpComment
hi def link phpCommentTitle     phpComment
hi def link phpDocTags          phpComment
hi def link phpDocParam         phpComment
hi def link phpDocIdentifier    phpComment

I suggest changing it to at least this:

hi def link phpCommentStar      phpComment
hi def link phpDocComment       phpComment
hi def link phpCommentTitle     phpComment
hi def link phpDocTags          PreProc
hi def link phpDocParam         Type
hi def link phpDocIdentifier    phpComment
StanAngeloff commented 10 years ago

The suggested tags have been added thanks for @Baldrs.