Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve PHP highlighting #12

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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')