Skip to content
This repository
branch: master
Ryan Bates
file 98 lines (79 sloc) 2.344 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97
" Vim color scheme based on http://github.com/jpo/vim-railscasts-theme
"
" Name: railscasts.vim
" Maintainer: Ryan Bates
" License: MIT

set background=dark
hi clear
if exists("syntax_on")
  syntax reset
endif
let g:colors_name = "railscasts"

" Colors
" Brown #BC9357
" Dark Blue #6D9CBD
" Dark Green #509E50
" Dark Orange #CC7733
" Light Blue #CFCFFF
" Light Green #A5C160
" Tan #FFC66D
" Red #DA4938

hi Normal guifg=#E6E1DC guibg=#232323
hi Cursor guibg=#FFFFFF
hi CursorLine guibg=#333435
hi LineNr guifg=#666666
hi Visual guibg=#5A647E
hi Search guifg=NONE guibg=#131313 gui=NONE
hi Folded guifg=#F6F3E8 guibg=#444444 gui=NONE
hi Directory guifg=#A5C160 gui=NONE
hi Error guifg=#FFFFFF guibg=#990000
hi MatchParen guifg=NONE guibg=#131313
hi Title guifg=#E6E1DC

hi Comment guifg=#BC9357 guibg=NONE gui=italic
hi! link Todo Comment

hi String guifg=#A5C160
hi! link Number String
hi! link rubyStringDelimiter String

" nil, self, symbols
hi Constant guifg=#6D9CBD

" def, end, include, load, require, alias, super, yield, lambda, proc
hi Define guifg=#CC7733 gui=NONE
hi! link Include Define
hi! link Keyword Define
hi! link Macro Define

" #{foo}, <%= bar %>
hi Delimiter guifg=#509E50
" hi erubyDelimiter guifg=NONE

" function name (after def)
hi Function guifg=#FFC66D gui=NONE

"@var, @@var, $var
hi Identifier guifg=#CFCFFF gui=NONE

" #if, #else, #endif

" case, begin, do, for, if, unless, while, until, else
hi Statement guifg=#CC7733 gui=NONE
hi! link PreProc Statement
hi! link PreCondit Statement

" SomeClassName
hi Type guifg=NONE gui=NONE

" has_many, respond_to, params
hi railsMethod guifg=#DA4938 gui=NONE

hi DiffAdd guifg=#E6E1DC guibg=#144212
hi DiffDelete guifg=#E6E1DC guibg=#660000

hi xmlTag guifg=#E8BF6A
hi! link xmlTagName xmlTag
hi! link xmlEndTag xmlTag
hi! link xmlArg xmlTag
hi! link htmlTag xmlTag
hi! link htmlTagName xmlTagName
hi! link htmlEndTag xmlEndTag
hi! link htmlArg xmlArg

" Popup Menu
" ----------
" normal item in popup
hi Pmenu guifg=#F6F3E8 guibg=#444444 gui=NONE
" selected item in popup
hi PmenuSel guifg=#000000 guibg=#A5C160 gui=NONE
" scrollbar in popup
hi PMenuSbar guibg=#5A647E gui=NONE
" thumb of the scrollbar in the popup
hi PMenuThumb guibg=#AAAAAA gui=NONE

Something went wrong with that request. Please try again.