github.vim 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. " Vim color file
  2. "
  3. " Author: Anthony Carapetis <anthony.carapetis@gmail.com>
  4. "
  5. " Note: Based on github's syntax highlighting theme
  6. " Used Brian Mock's darkspectrum as a starting point/template
  7. " Thanks to Ryan Heath for an easy list of some of the colours:
  8. " http://rpheath.com/posts/356-github-theme-for-syntax-gem
  9. hi clear
  10. set background=light
  11. if version > 580
  12. " no guarantees for version 5.8 and below, but this makes it stop
  13. " complaining
  14. hi clear
  15. if exists("syntax_on")
  16. syntax reset
  17. endif
  18. endif
  19. let g:colors_name="github"
  20. hi Normal guifg=#000000 guibg=#F8F8FF
  21. " {{{ Cursor
  22. hi Cursor guibg=#444454 guifg=#F8F8FF
  23. hi CursorLine guibg=#D8D8DD
  24. hi CursorColumn guibg=#E8E8EE
  25. " }}}
  26. " {{{ Diff
  27. hi DiffAdd guifg=#003300 guibg=#DDFFDD gui=none
  28. hi DiffChange guibg=#ececec gui=none
  29. hi DiffText guifg=#000033 guibg=#DDDDFF gui=none
  30. hi DiffDelete guifg=#DDCCCC guibg=#FFDDDD gui=none
  31. " }}}
  32. " {{{ Folding / Line Numbering / Status Lines
  33. hi Folded guibg=#ECECEC guifg=#808080 gui=bold
  34. hi vimFold guibg=#ECECEC guifg=#808080 gui=bold
  35. hi FoldColumn guibg=#ECECEC guifg=#808080 gui=bold
  36. hi LineNr guifg=#959595 guibg=#ECECEC gui=bold
  37. hi NonText guifg=#808080 guibg=#ECECEC
  38. hi Folded guifg=#808080 guibg=#ECECEC gui=bold
  39. hi FoldeColumn guifg=#808080 guibg=#ECECEC gui=bold
  40. hi VertSplit guibg=#bbbbbb guifg=#bbbbbb gui=none
  41. hi StatusLine guibg=#bbbbbb guifg=#404040 gui=bold
  42. hi StatusLineNC guibg=#d4d4d4 guifg=#404040 gui=italic
  43. " }}}
  44. " {{{ Misc
  45. hi ModeMsg guifg=#990000
  46. hi MoreMsg guifg=#990000
  47. hi Title guifg=#ef5939
  48. hi WarningMsg guifg=#ef5939
  49. hi SpecialKey guifg=#177F80 gui=italic
  50. hi MatchParen guibg=#cdcdfd guifg=#000000
  51. hi Underlined guifg=#000000 gui=underline
  52. hi Directory guifg=#990000
  53. " }}}
  54. " {{{ Search, Visual, etc
  55. hi Visual guifg=#FFFFFF guibg=#3465a4 gui=none
  56. hi VisualNOS guifg=#FFFFFF guibg=#204a87 gui=none
  57. hi IncSearch guibg=#cdcdfd guifg=#000000 gui=italic
  58. hi Search guibg=#cdcdfd guifg=#000000 gui=italic
  59. " }}}
  60. " {{{ Syntax groups
  61. hi Ignore guifg=#808080
  62. hi Identifier guifg=#0086B3
  63. hi PreProc guifg=#A0A0A0 gui=bold
  64. hi Comment guifg=#999988
  65. hi Constant guifg=#177F80 gui=none
  66. hi String guifg=#D81745
  67. hi Function guifg=#990000 gui=bold
  68. hi Statement guifg=#000000 gui=bold
  69. hi Type guifg=#445588 gui=bold
  70. hi Number guifg=#1C9898
  71. hi Todo guifg=#FFFFFF guibg=#990000 gui=bold
  72. hi Special guifg=#159828 gui=bold
  73. hi rubySymbol guifg=#960B73
  74. hi Error guibg=#f8f8ff guifg=#ff1100 gui=undercurl
  75. hi Todo guibg=#f8f8ff guifg=#ff1100 gui=underline
  76. hi Label guifg=#000000 gui=bold
  77. hi StorageClass guifg=#000000 gui=bold
  78. hi Structure guifg=#000000 gui=bold
  79. hi TypeDef guifg=#000000 gui=bold
  80. " }}}
  81. " {{{ Completion menus
  82. hi WildMenu guifg=#7fbdff guibg=#425c78 gui=none
  83. hi Pmenu guibg=#808080 guifg=#ffffff gui=bold
  84. hi PmenuSel guibg=#cdcdfd guifg=#000000 gui=italic
  85. hi PmenuSbar guibg=#000000 guifg=#444444
  86. hi PmenuThumb guibg=#aaaaaa guifg=#aaaaaa
  87. " }}}
  88. " {{{ Spelling
  89. hi spellBad guisp=#fcaf3e
  90. hi spellCap guisp=#73d216
  91. hi spellRare guisp=#fcaf3e
  92. hi spellLocal guisp=#729fcf
  93. " }}}
  94. " {{{ Aliases
  95. hi link cppSTL Function
  96. hi link cppSTLType Type
  97. hi link Character Number
  98. hi link htmlTag htmlEndTag
  99. "hi link htmlTagName htmlTag
  100. hi link htmlLink Underlined
  101. hi link pythonFunction Identifier
  102. hi link Question Type
  103. hi link CursorIM Cursor
  104. hi link VisualNOS Visual
  105. hi link xmlTag Identifier
  106. hi link xmlTagName Identifier
  107. hi link shDeref Identifier
  108. hi link shVariable Function
  109. hi link rubySharpBang Special
  110. hi link perlSharpBang Special
  111. hi link schemeFunc Statement
  112. "hi link shSpecialVariables Constant
  113. "hi link bashSpecialVariables Constant
  114. " }}}
  115. " {{{ Tabs (non-gui0
  116. hi TabLine guifg=#404040 guibg=#dddddd gui=none
  117. hi TabLineFill guifg=#404040 guibg=#dddddd gui=none
  118. hi TabLineSel guifg=#404040 gui=bold
  119. " }}}
  120. "
  121. " vim: sw=4 ts=4 foldmethod=marker