-" Load standard colors
-source $VIMRUNTIME/syntax/synload.vim
-
-" Override for all syntax files
+highlight clear
+if exists("syntax_on")
+ syntax reset
+endif
+let g:colors_name = "phd"
if !has("gui_running")
if &background == 'light'
endif
endif
-highlight SpellBad term=underline ctermfg=white ctermbg=red guifg=white guibg=red " gui=undercurl guisp=red
-highlight StatusLine cterm=bold,reverse ctermfg=blue ctermbg=white guifg=blue guibg=white
-highlight Visual ctermfg=white ctermbg=blue guifg=white guibg=blue " Selection highlighting
-
if &background == 'light'
- highlight Comment ctermfg=darkmagenta guifg=darkmagenta
- highlight Constant ctermfg=brown guifg=brown
+ highlight Comment ctermfg=darkgrey guifg=grey
+ highlight Constant ctermfg=blue guifg=blue
highlight Cursor guifg=white guibg=green
highlight Identifier ctermfg=black guifg=black
highlight NonText ctermfg=darkgrey guifg=grey
highlight Normal guibg=grey90
highlight PreProc ctermfg=darkgreen guifg=darkgreen
- highlight Special ctermfg=darkgrey
highlight SpecialKey ctermfg=darkgrey
highlight Statement cterm=bold ctermfg=black guifg=black
highlight Type ctermfg=black guifg=black
highlight DiffDelete ctermfg=black ctermbg=red
endif
endif
+
+highlight SpellBad term=underline ctermfg=white ctermbg=red guifg=white guibg=red " gui=undercurl guisp=red
+highlight StatusLine cterm=bold,reverse ctermfg=blue ctermbg=white guifg=blue guibg=white
+highlight Visual ctermfg=white ctermbg=blue guifg=white guibg=blue " Selection highlighting
syntax match mailURL contains=@NoSpell `\v<(((https?|ftp|gopher|telnet)://|(mailto|file|news|about|ed2k|irc|sip|magnet):)[^' \t<>"]+|(www|web|w3)[a-z0-9_-]*\.[a-z0-9._-]+\.[^' \t<>"]+)[a-z0-9/]`
if &background == 'light'
- highlight Statement cterm=NONE ctermfg=black gui=NONE guifg=darkgrey
+ highlight Statement cterm=NONE ctermfg=black gui=NONE guifg=black
highlight link mailHeaderEmail Normal
- highlight mailHeaderKey cterm=bold ctermfg=black
- highlight link mailEmail Comment
+ highlight mailHeaderKey cterm=bold ctermfg=black gui=bold
+ highlight mailEmail ctermfg=darkmagenta guifg=darkmagenta
highlight mailSubject cterm=bold ctermfg=darkgrey gui=bold
highlight mailSmile cterm=bold ctermfg=darkmagenta gui=bold guifg=darkmagenta
highlight mailQuoted1 cterm=NONE ctermfg=blue gui=NONE guifg=blue