annotate rc/vim-vividchalk @ 566:99c8e99698ad

Add csr generator.
author nanaya <me@myconan.net>
date Mon, 08 Jun 2015 15:51:02 +0900
parents 48ab5a354772
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
555
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
1 " Vim color scheme
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
2 " Name: vividchalk.vim
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
3 " Author: Tim Pope <vimNOSPAM@tpope.info>
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
4 " Version: 2.0
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
5 " GetLatestVimScripts: 1891 1 :AutoInstall: vividchalk.vim
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
6
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
7 " Based on the Vibrank Ink theme for TextMate
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
8 " Distributable under the same terms as Vim itself (see :help license)
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
9
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
10 if has("gui_running")
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
11 set background=dark
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
12 endif
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
13 hi clear
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
14 if exists("syntax_on")
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
15 syntax reset
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
16 endif
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
17
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
18 let colors_name = "vividchalk"
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
19
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
20 " First two functions adapted from inkpot.vim
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
21
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
22 " map a urxvt cube number to an xterm-256 cube number
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
23 fun! s:M(a)
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
24 return strpart("0245", a:a, 1) + 0
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
25 endfun
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
26
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
27 " map a urxvt colour to an xterm-256 colour
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
28 fun! s:X(a)
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
29 if &t_Co == 88
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
30 return a:a
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
31 else
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
32 if a:a == 8
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
33 return 237
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
34 elseif a:a < 16
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
35 return a:a
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
36 elseif a:a > 79
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
37 return 232 + (3 * (a:a - 80))
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
38 else
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
39 let l:b = a:a - 16
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
40 let l:x = l:b % 4
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
41 let l:y = (l:b / 4) % 4
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
42 let l:z = (l:b / 16)
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
43 return 16 + s:M(l:x) + (6 * s:M(l:y)) + (36 * s:M(l:z))
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
44 endif
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
45 endif
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
46 endfun
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
47
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
48 function! E2T(a)
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
49 return s:X(a:a)
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
50 endfunction
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
51
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
52 function! s:choose(mediocre,good)
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
53 if &t_Co != 88 && &t_Co != 256
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
54 return a:mediocre
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
55 else
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
56 return s:X(a:good)
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
57 endif
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
58 endfunction
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
59
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
60 function! s:hifg(group,guifg,first,second,...)
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
61 if a:0 && &t_Co == 256
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
62 let ctermfg = a:1
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
63 else
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
64 let ctermfg = s:choose(a:first,a:second)
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
65 endif
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
66 exe "highlight ".a:group." guifg=".a:guifg." ctermfg=".ctermfg
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
67 endfunction
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
68
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
69 function! s:hibg(group,guibg,first,second)
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
70 let ctermbg = s:choose(a:first,a:second)
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
71 exe "highlight ".a:group." guibg=".a:guibg." ctermbg=".ctermbg
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
72 endfunction
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
73
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
74 hi link railsMethod PreProc
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
75 hi link rubyDefine Keyword
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
76 hi link rubySymbol Constant
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
77 hi link rubyAccess rubyMethod
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
78 hi link rubyAttribute rubyMethod
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
79 hi link rubyEval rubyMethod
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
80 hi link rubyException rubyMethod
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
81 hi link rubyInclude rubyMethod
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
82 hi link rubyStringDelimiter rubyString
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
83 hi link rubyRegexp Regexp
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
84 hi link rubyRegexpDelimiter rubyRegexp
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
85 "hi link rubyConstant Variable
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
86 "hi link rubyGlobalVariable Variable
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
87 "hi link rubyClassVariable Variable
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
88 "hi link rubyInstanceVariable Variable
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
89 hi link javascriptRegexpString Regexp
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
90 hi link javascriptNumber Number
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
91 hi link javascriptNull Constant
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
92 highlight link diffAdded String
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
93 highlight link diffRemoved Statement
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
94 highlight link diffLine PreProc
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
95 highlight link diffSubname Comment
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
96
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
97 call s:hifg("Normal","#EEEEEE","White",87)
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
98 if &background == "light" || has("gui_running")
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
99 hi Normal guibg=Black ctermbg=Black
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
100 else
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
101 hi Normal guibg=Black ctermbg=NONE
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
102 endif
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
103 highlight StatusLine guifg=Black guibg=#aabbee gui=bold ctermfg=Black ctermbg=White cterm=bold
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
104 highlight StatusLineNC guifg=#444444 guibg=#aaaaaa gui=none ctermfg=Black ctermbg=Grey cterm=none
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
105 "if &t_Co == 256
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
106 "highlight StatusLine ctermbg=117
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
107 "else
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
108 "highlight StatusLine ctermbg=43
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
109 "endif
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
110
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
111 highlight Ignore ctermfg=Black
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
112 highlight WildMenu guifg=Black guibg=#ffff00 gui=bold ctermfg=Black ctermbg=Yellow cterm=bold
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
113 highlight Cursor guifg=Black guibg=White ctermfg=Black ctermbg=White
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
114 call s:hibg("ColorColumn","#333333","DarkGrey",81)
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
115 call s:hibg("CursorLine","#333333","DarkGrey",81)
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
116 call s:hibg("CursorColumn","#333333","DarkGrey",81)
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
117 highlight NonText guifg=#404040 ctermfg=8
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
118 highlight SpecialKey guifg=#404040 ctermfg=8
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
119 highlight Directory none
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
120 high link Directory Identifier
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
121 highlight ErrorMsg guibg=Red ctermbg=DarkRed guifg=NONE ctermfg=NONE
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
122 highlight Search guifg=NONE ctermfg=NONE gui=none cterm=none
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
123 call s:hibg("Search" ,"#555555","DarkBlue",81)
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
124 highlight IncSearch guifg=White guibg=Black ctermfg=White ctermbg=Black
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
125 highlight MoreMsg guifg=#00AA00 ctermfg=Green
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
126 highlight LineNr guifg=#DDEEFF ctermfg=White
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
127 call s:hibg("LineNr" ,"#222222","DarkBlue",80)
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
128 highlight Question none
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
129 high link Question MoreMsg
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
130 highlight Title guifg=Magenta ctermfg=Magenta
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
131 highlight VisualNOS gui=none cterm=none
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
132 call s:hibg("Visual" ,"#555577","LightBlue",83)
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
133 call s:hibg("VisualNOS" ,"#444444","DarkBlue",81)
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
134 call s:hibg("MatchParen","#1100AA","DarkBlue",18)
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
135 highlight WarningMsg guifg=Red ctermfg=Red
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
136 highlight Error ctermbg=DarkRed
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
137 highlight SpellBad ctermbg=DarkRed
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
138 " FIXME: Comments
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
139 highlight SpellRare ctermbg=DarkMagenta
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
140 highlight SpellCap ctermbg=DarkBlue
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
141 highlight SpellLocal ctermbg=DarkCyan
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
142
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
143 call s:hibg("Folded" ,"#110077","DarkBlue",17)
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
144 call s:hifg("Folded" ,"#aaddee","LightCyan",63)
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
145 highlight FoldColumn none
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
146 high link FoldColumn Folded
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
147 highlight DiffAdd ctermbg=4 guibg=DarkBlue
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
148 highlight DiffChange ctermbg=5 guibg=DarkMagenta
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
149 highlight DiffDelete ctermfg=12 ctermbg=6 gui=bold guifg=Blue guibg=DarkCyan
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
150 highlight DiffText ctermbg=DarkRed
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
151 highlight DiffText cterm=bold ctermbg=9 gui=bold guibg=Red
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
152
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
153 highlight Pmenu guifg=White ctermfg=White gui=bold cterm=bold
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
154 highlight PmenuSel guifg=White ctermfg=White gui=bold cterm=bold
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
155 call s:hibg("Pmenu" ,"#000099","Blue",18)
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
156 call s:hibg("PmenuSel" ,"#5555ff","DarkCyan",39)
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
157 highlight PmenuSbar guibg=Grey ctermbg=Grey
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
158 highlight PmenuThumb guibg=White ctermbg=White
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
159 highlight TabLine gui=underline cterm=underline
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
160 call s:hifg("TabLine" ,"#bbbbbb","LightGrey",85)
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
161 call s:hibg("TabLine" ,"#333333","DarkGrey",80)
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
162 highlight TabLineSel guifg=White guibg=Black ctermfg=White ctermbg=Black
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
163 highlight TabLineFill gui=underline cterm=underline
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
164 call s:hifg("TabLineFill","#bbbbbb","LightGrey",85)
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
165 call s:hibg("TabLineFill","#808080","Grey",83)
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
166
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
167 hi Type gui=none
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
168 hi Statement gui=none
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
169 if !has("gui_mac")
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
170 " Mac GUI degrades italics to ugly underlining.
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
171 hi Comment gui=italic
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
172 hi railsUserClass gui=italic
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
173 hi railsUserMethod gui=italic
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
174 endif
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
175 hi Identifier cterm=none
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
176 " Commented numbers at the end are *old* 256 color values
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
177 "highlight PreProc guifg=#EDF8F9
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
178 call s:hifg("Comment" ,"#9933CC","DarkMagenta",34) " 92
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
179 " 26 instead?
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
180 call s:hifg("Constant" ,"#339999","DarkCyan",21) " 30
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
181 call s:hifg("rubyNumber" ,"#CCFF33","Yellow",60) " 190
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
182 call s:hifg("String" ,"#66FF00","LightGreen",44,82) " 82
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
183 call s:hifg("Identifier" ,"#FFCC00","Yellow",72) " 220
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
184 call s:hifg("Statement" ,"#FF6600","Brown",68) " 202
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
185 call s:hifg("PreProc" ,"#AAFFFF","LightCyan",47) " 213
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
186 call s:hifg("railsUserMethod","#AACCFF","LightCyan",27)
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
187 call s:hifg("Type" ,"#AAAA77","Grey",57) " 101
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
188 call s:hifg("railsUserClass" ,"#AAAAAA","Grey",7) " 101
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
189 call s:hifg("Special" ,"#33AA00","DarkGreen",24) " 7
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
190 call s:hifg("Regexp" ,"#44B4CC","DarkCyan",21) " 74
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
191 call s:hifg("rubyMethod" ,"#DDE93D","Yellow",77) " 191
48ab5a354772 Use vividchalk theme.
nanaya <me@myconan.net>
parents:
diff changeset
192 "highlight railsMethod guifg=#EE1122 ctermfg=1