railscasts.vim 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. " Vim color scheme based on http://github.com/jpo/vim-railscasts-theme
  2. "
  3. " Name: railscasts.vim
  4. " Maintainer: Ryan Bates
  5. " License: MIT
  6. set background=dark
  7. hi clear
  8. if exists("syntax_on")
  9. syntax reset
  10. endif
  11. let g:colors_name = "railscasts"
  12. " Colors
  13. " Brown #BC9357
  14. " Dark Blue #6D9CBD
  15. " Dark Green #509E50
  16. " Dark Orange #CC7733
  17. " Light Blue #CFCFFF
  18. " Light Green #A5C160
  19. " Tan #FFC66D
  20. " Red #DA4938
  21. hi Normal guifg=#E6E1DC guibg=#232323
  22. hi Cursor guibg=#FFFFFF
  23. hi CursorLine guibg=#333435
  24. hi LineNr guifg=#666666
  25. hi Visual guibg=#5A647E
  26. hi Search guifg=NONE guibg=#131313 gui=NONE
  27. hi Folded guifg=#F6F3E8 guibg=#444444 gui=NONE
  28. hi Directory guifg=#A5C160 gui=NONE
  29. hi Error guifg=#FFFFFF guibg=#990000
  30. hi MatchParen guifg=NONE guibg=#131313
  31. hi Title guifg=#E6E1DC
  32. hi Comment guifg=#BC9357 guibg=NONE gui=italic
  33. hi! link Todo Comment
  34. hi String guifg=#A5C160
  35. hi! link Number String
  36. hi! link rubyStringDelimiter String
  37. " nil, self, symbols
  38. hi Constant guifg=#6D9CBD
  39. " def, end, include, load, require, alias, super, yield, lambda, proc
  40. hi Define guifg=#CC7733 gui=NONE
  41. hi! link Include Define
  42. hi! link Keyword Define
  43. hi! link Macro Define
  44. " #{foo}, <%= bar %>
  45. hi Delimiter guifg=#509E50
  46. " hi erubyDelimiter guifg=NONE
  47. " function name (after def)
  48. hi Function guifg=#FFC66D gui=NONE
  49. "@var, @@var, $var
  50. hi Identifier guifg=#CFCFFF gui=NONE
  51. " #if, #else, #endif
  52. " case, begin, do, for, if, unless, while, until, else
  53. hi Statement guifg=#CC7733 gui=NONE
  54. hi! link PreProc Statement
  55. hi! link PreCondit Statement
  56. " SomeClassName
  57. hi Type guifg=NONE gui=NONE
  58. " has_many, respond_to, params
  59. hi railsMethod guifg=#DA4938 gui=NONE
  60. hi DiffAdd guifg=#E6E1DC guibg=#144212
  61. hi DiffDelete guifg=#E6E1DC guibg=#660000
  62. hi xmlTag guifg=#E8BF6A
  63. hi! link xmlTagName xmlTag
  64. hi! link xmlEndTag xmlTag
  65. hi! link xmlArg xmlTag
  66. hi! link htmlTag xmlTag
  67. hi! link htmlTagName xmlTagName
  68. hi! link htmlEndTag xmlEndTag
  69. hi! link htmlArg xmlArg
  70. " Popup Menu
  71. " ----------
  72. " normal item in popup
  73. hi Pmenu guifg=#F6F3E8 guibg=#444444 gui=NONE
  74. " selected item in popup
  75. hi PmenuSel guifg=#000000 guibg=#A5C160 gui=NONE
  76. " scrollbar in popup
  77. hi PMenuSbar guibg=#5A647E gui=NONE
  78. " thumb of the scrollbar in the popup
  79. hi PMenuThumb guibg=#AAAAAA gui=NONE