Skip to content

Commit

Permalink
improved PHP highlighting
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergei Kasatkin committed May 8, 2020
1 parent 70b8257 commit 042bcb7
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions colors/darcula.vim
Original file line number Diff line number Diff line change
Expand Up @@ -510,3 +510,26 @@ hi! link shOperator NormalFg

" help
hi! link helpHyperTextJump Number

" PHP
if has("autocmd")
autocmd BufEnter *.php call s:Hi('Normal', s:p.fg, s:p.templateLanguage)
endif
hi! link phpFunctions Normal
hi! link phpFunction function
hi! link phpMethod function
hi! link phpIdentifier constant
hi! link phpMethodsVar constant
hi! link phpInclude keyword
hi! link phpBoolean keyword
hi! link phpSpecialChar keyword
hi! link phpParent Normal
hi! link phpOperator Normal
hi! link phpMemberSelector Normal
hi! link phpStaticClasses Normal
hi! link phpDocComment docComment
hi! link phpDocParam docComment
hi! link phpDocIdentifier docComment
hi! link phpCommentStar docComment
hi! link phpCommentTitle docComment
call s:Hi('phpDocTags', s:p.docComment, s:p.null, 'bold,italic,underline')

0 comments on commit 042bcb7

Please sign in to comment.