bgneal@0
|
1 " Vim color file --- psc (peak sea color) "Lite version"
|
bgneal@0
|
2 " Maintainer: Pan, Shi Zhu <Go to the following URL for my email>
|
bgneal@0
|
3 " URL: http://vim.sourceforge.net/scripts/script.php?script_id=760
|
bgneal@0
|
4 " Last Change: 5 Feb 2010
|
bgneal@0
|
5 " Version: 3.4
|
bgneal@0
|
6 "
|
bgneal@0
|
7 " Comments and e-mails are welcomed, thanks.
|
bgneal@0
|
8 "
|
bgneal@0
|
9 " The peaksea color is simply a colorscheme with the default settings of
|
bgneal@0
|
10 " the original ps_color. Lite version means there's no custom settings
|
bgneal@0
|
11 " and fancy features such as integration with reloaded.vim
|
bgneal@0
|
12 "
|
bgneal@0
|
13 " The full version of ps_color.vim will be maintained until Vim 8.
|
bgneal@0
|
14 " By then there will be only the lite version: peaksea.vim
|
bgneal@0
|
15 "
|
bgneal@0
|
16 " Note: Please set the background option in your .vimrc and/or .gvimrc
|
bgneal@0
|
17 "
|
bgneal@0
|
18 " It is much better *not* to set 'background' option inside
|
bgneal@0
|
19 " a colorscheme file. because ":set background" improperly
|
bgneal@0
|
20 " may cause colorscheme be sourced twice
|
bgneal@0
|
21 "
|
bgneal@0
|
22 " Color Scheme Overview:
|
bgneal@0
|
23 " :ru syntax/hitest.vim
|
bgneal@0
|
24 "
|
bgneal@0
|
25 " Relevant Help:
|
bgneal@0
|
26 " :h highlight-groups
|
bgneal@0
|
27 " :h psc-cterm-color-table
|
bgneal@0
|
28 "
|
bgneal@0
|
29 " Colors Order:
|
bgneal@0
|
30 " #rrggbb
|
bgneal@0
|
31 "
|
bgneal@0
|
32
|
bgneal@0
|
33 hi clear
|
bgneal@0
|
34
|
bgneal@0
|
35 if exists("syntax_on")
|
bgneal@0
|
36 syntax reset
|
bgneal@0
|
37 endif
|
bgneal@0
|
38
|
bgneal@0
|
39 let g:colors_name = expand("<sfile>:t:r")
|
bgneal@0
|
40
|
bgneal@0
|
41 " I don't want to abuse folding, but here folding is used to avoid confusion.
|
bgneal@0
|
42 if &background=='light'
|
bgneal@0
|
43 " for background=light {{{2
|
bgneal@0
|
44 " LIGHT COLOR DEFINE START
|
bgneal@0
|
45
|
bgneal@0
|
46 hi Normal guifg=#000000 guibg=#e0e0e0 gui=NONE
|
bgneal@0
|
47 hi Search guifg=NONE guibg=#f8f8f8 gui=NONE
|
bgneal@0
|
48 hi Visual guifg=NONE guibg=#a6caf0 gui=NONE
|
bgneal@0
|
49 hi Cursor guifg=#f0f0f0 guibg=#008000 gui=NONE
|
bgneal@0
|
50 " The idea of CursorIM is pretty good, however, the feature is still buggy
|
bgneal@0
|
51 " in the current version (Vim 7.0).
|
bgneal@0
|
52 " The following line will be kept commented until the bug fixed.
|
bgneal@0
|
53 "
|
bgneal@0
|
54 " hi CursorIM guifg=#f0f0f0 guibg=#800080
|
bgneal@0
|
55 hi Special guifg=#907000 guibg=NONE gui=NONE
|
bgneal@0
|
56 hi Comment guifg=#606000 guibg=NONE gui=NONE
|
bgneal@0
|
57 hi Number guifg=#907000 guibg=NONE gui=NONE
|
bgneal@0
|
58 hi Constant guifg=#007068 guibg=NONE gui=NONE
|
bgneal@0
|
59 hi StatusLine guifg=fg guibg=#a6caf0 gui=NONE
|
bgneal@0
|
60 hi LineNr guifg=#686868 guibg=NONE gui=NONE
|
bgneal@0
|
61 hi Question guifg=fg guibg=#d0d090 gui=NONE
|
bgneal@0
|
62 hi PreProc guifg=#009030 guibg=NONE gui=NONE
|
bgneal@0
|
63 hi Statement guifg=#2060a8 guibg=NONE gui=NONE
|
bgneal@0
|
64 hi Type guifg=#0850a0 guibg=NONE gui=NONE
|
bgneal@0
|
65 hi Todo guifg=#800000 guibg=#e0e090 gui=NONE
|
bgneal@0
|
66 " NOTE THIS IS IN THE WARM SECTION
|
bgneal@0
|
67 hi Error guifg=#c03000 guibg=NONE gui=NONE
|
bgneal@0
|
68 hi Identifier guifg=#a030a0 guibg=NONE gui=NONE
|
bgneal@0
|
69 hi ModeMsg guifg=fg guibg=#b0b0e0 gui=NONE
|
bgneal@0
|
70 hi VisualNOS guifg=fg guibg=#b0b0e0 gui=NONE
|
bgneal@0
|
71 hi SpecialKey guifg=#1050a0 guibg=NONE gui=NONE
|
bgneal@0
|
72 hi NonText guifg=#002090 guibg=#d0d0d0 gui=NONE
|
bgneal@0
|
73 hi Directory guifg=#a030a0 guibg=NONE gui=NONE
|
bgneal@0
|
74 hi ErrorMsg guifg=fg guibg=#f0b090 gui=NONE
|
bgneal@0
|
75 hi MoreMsg guifg=#489000 guibg=NONE gui=NONE
|
bgneal@0
|
76 hi Title guifg=#a030a0 guibg=NONE gui=NONE
|
bgneal@0
|
77 hi WarningMsg guifg=#b02000 guibg=NONE gui=NONE
|
bgneal@0
|
78 hi WildMenu guifg=fg guibg=#d0d090 gui=NONE
|
bgneal@0
|
79 hi Folded guifg=NONE guibg=#b0e0b0 gui=NONE
|
bgneal@0
|
80 hi FoldColumn guifg=fg guibg=#90e090 gui=NONE
|
bgneal@0
|
81 hi DiffAdd guifg=NONE guibg=#b0b0e0 gui=NONE
|
bgneal@0
|
82 hi DiffChange guifg=NONE guibg=#e0b0e0 gui=NONE
|
bgneal@0
|
83 hi DiffDelete guifg=#002090 guibg=#d0d0d0 gui=NONE
|
bgneal@0
|
84 hi DiffText guifg=NONE guibg=#c0e080 gui=NONE
|
bgneal@0
|
85 hi SignColumn guifg=fg guibg=#90e090 gui=NONE
|
bgneal@0
|
86
|
bgneal@0
|
87 hi IncSearch guifg=#f0f0f0 guibg=#806060 gui=NONE
|
bgneal@0
|
88 hi StatusLineNC guifg=fg guibg=#c0c0c0 gui=NONE
|
bgneal@0
|
89 hi VertSplit guifg=fg guibg=#c0c0c0 gui=NONE
|
bgneal@0
|
90 hi Underlined guifg=#6a5acd guibg=NONE gui=underline
|
bgneal@0
|
91 hi Ignore guifg=bg guibg=NONE
|
bgneal@0
|
92 " NOTE THIS IS IN THE WARM SECTION
|
bgneal@0
|
93 if v:version >= 700
|
bgneal@0
|
94 if has('spell')
|
bgneal@0
|
95 hi SpellBad guifg=NONE guibg=NONE guisp=#c03000
|
bgneal@0
|
96 hi SpellCap guifg=NONE guibg=NONE guisp=#2060a8
|
bgneal@0
|
97 hi SpellRare guifg=NONE guibg=NONE guisp=#a030a0
|
bgneal@0
|
98 hi SpellLocal guifg=NONE guibg=NONE guisp=#007068
|
bgneal@0
|
99 endif
|
bgneal@0
|
100 hi Pmenu guifg=fg guibg=#e0b0e0
|
bgneal@0
|
101 hi PmenuSel guifg=#f0f0f0 guibg=#806060 gui=NONE
|
bgneal@0
|
102 hi PmenuSbar guifg=fg guibg=#c0c0c0 gui=NONE
|
bgneal@0
|
103 hi PmenuThumb guifg=fg guibg=#c0e080 gui=NONE
|
bgneal@0
|
104 hi TabLine guifg=fg guibg=#c0c0c0 gui=NONE
|
bgneal@0
|
105 hi TabLineFill guifg=fg guibg=#c0c0c0 gui=NONE
|
bgneal@0
|
106 hi TabLineSel guifg=fg guibg=NONE gui=NONE
|
bgneal@0
|
107 hi CursorColumn guifg=NONE guibg=#f0b090
|
bgneal@0
|
108 hi CursorLine guifg=NONE guibg=NONE gui=underline
|
bgneal@0
|
109 hi MatchParen guifg=NONE guibg=#c0e080
|
bgneal@0
|
110 endif
|
bgneal@0
|
111
|
bgneal@0
|
112 " LIGHT COLOR DEFINE END
|
bgneal@0
|
113
|
bgneal@0
|
114 " Vim 7 added stuffs
|
bgneal@0
|
115 if v:version >= 700
|
bgneal@0
|
116 hi Ignore gui=NONE
|
bgneal@0
|
117
|
bgneal@0
|
118 " the gui=undercurl guisp could only support in Vim 7
|
bgneal@0
|
119 if has('spell')
|
bgneal@0
|
120 hi SpellBad gui=undercurl
|
bgneal@0
|
121 hi SpellCap gui=undercurl
|
bgneal@0
|
122 hi SpellRare gui=undercurl
|
bgneal@0
|
123 hi SpellLocal gui=undercurl
|
bgneal@0
|
124 endif
|
bgneal@0
|
125 hi TabLine gui=underline
|
bgneal@0
|
126 hi TabLineFill gui=underline
|
bgneal@0
|
127 hi CursorLine gui=underline
|
bgneal@0
|
128 endif
|
bgneal@0
|
129
|
bgneal@0
|
130 " For reversed stuffs, clear the reversed prop and set the bold prop again
|
bgneal@0
|
131 hi IncSearch gui=bold
|
bgneal@0
|
132 hi StatusLine gui=bold
|
bgneal@0
|
133 hi StatusLineNC gui=bold
|
bgneal@0
|
134 hi VertSplit gui=bold
|
bgneal@0
|
135 hi Visual gui=bold
|
bgneal@0
|
136
|
bgneal@0
|
137 " Enable the bold property
|
bgneal@0
|
138 hi Question gui=bold
|
bgneal@0
|
139 hi DiffText gui=bold
|
bgneal@0
|
140 hi Statement gui=bold
|
bgneal@0
|
141 hi Type gui=bold
|
bgneal@0
|
142 hi MoreMsg gui=bold
|
bgneal@0
|
143 hi ModeMsg gui=bold
|
bgneal@0
|
144 hi NonText gui=bold
|
bgneal@0
|
145 hi Title gui=bold
|
bgneal@0
|
146 hi DiffDelete gui=bold
|
bgneal@0
|
147 hi TabLineSel gui=bold
|
bgneal@0
|
148
|
bgneal@0
|
149 " gui define for background=light end here
|
bgneal@0
|
150
|
bgneal@0
|
151 " generally, a dumb terminal is dark, we assume the light terminal has 256
|
bgneal@0
|
152 " color support.
|
bgneal@0
|
153 if &t_Co==8 || &t_Co==16
|
bgneal@0
|
154 set t_Co=256
|
bgneal@0
|
155 endif
|
bgneal@0
|
156 if &t_Co==256
|
bgneal@0
|
157 " 256color light terminal support here
|
bgneal@0
|
158
|
bgneal@0
|
159 hi Normal ctermfg=16 ctermbg=254 cterm=NONE
|
bgneal@0
|
160 " Comment/Uncomment the following line to disable/enable transparency
|
bgneal@0
|
161 "hi Normal ctermfg=16 ctermbg=NONE cterm=NONE
|
bgneal@0
|
162 hi Search ctermfg=NONE ctermbg=231 cterm=NONE
|
bgneal@0
|
163 hi Visual ctermfg=NONE ctermbg=153 cterm=NONE
|
bgneal@0
|
164 hi Cursor ctermfg=255 ctermbg=28 cterm=NONE
|
bgneal@0
|
165 " hi CursorIM ctermfg=255 ctermbg=90
|
bgneal@0
|
166 hi Special ctermfg=94 ctermbg=NONE cterm=NONE
|
bgneal@0
|
167 hi Comment ctermfg=58 ctermbg=NONE cterm=NONE
|
bgneal@0
|
168 hi Number ctermfg=94 ctermbg=NONE cterm=NONE
|
bgneal@0
|
169 hi Constant ctermfg=23 ctermbg=NONE cterm=NONE
|
bgneal@0
|
170 hi StatusLine ctermfg=fg ctermbg=153 cterm=NONE
|
bgneal@0
|
171 hi LineNr ctermfg=242 ctermbg=NONE cterm=NONE
|
bgneal@0
|
172 hi Question ctermfg=fg ctermbg=186 cterm=NONE
|
bgneal@0
|
173 hi PreProc ctermfg=29 ctermbg=NONE cterm=NONE
|
bgneal@0
|
174 hi Statement ctermfg=25 ctermbg=NONE cterm=NONE
|
bgneal@0
|
175 hi Type ctermfg=25 ctermbg=NONE cterm=NONE
|
bgneal@0
|
176 hi Todo ctermfg=88 ctermbg=186 cterm=NONE
|
bgneal@0
|
177 " NOTE THIS IS IN THE WARM SECTION
|
bgneal@0
|
178 hi Error ctermfg=130 ctermbg=NONE cterm=NONE
|
bgneal@0
|
179 hi Identifier ctermfg=133 ctermbg=NONE cterm=NONE
|
bgneal@0
|
180 hi ModeMsg ctermfg=fg ctermbg=146 cterm=NONE
|
bgneal@0
|
181 hi VisualNOS ctermfg=fg ctermbg=146 cterm=NONE
|
bgneal@0
|
182 hi SpecialKey ctermfg=25 ctermbg=NONE cterm=NONE
|
bgneal@0
|
183 hi NonText ctermfg=18 ctermbg=252 cterm=NONE
|
bgneal@0
|
184 " Comment/Uncomment the following line to disable/enable transparency
|
bgneal@0
|
185 "hi NonText ctermfg=18 ctermbg=NONE cterm=NONE
|
bgneal@0
|
186 hi Directory ctermfg=133 ctermbg=NONE cterm=NONE
|
bgneal@0
|
187 hi ErrorMsg ctermfg=fg ctermbg=216 cterm=NONE
|
bgneal@0
|
188 hi MoreMsg ctermfg=64 ctermbg=NONE cterm=NONE
|
bgneal@0
|
189 hi Title ctermfg=133 ctermbg=NONE cterm=NONE
|
bgneal@0
|
190 hi WarningMsg ctermfg=124 ctermbg=NONE cterm=NONE
|
bgneal@0
|
191 hi WildMenu ctermfg=fg ctermbg=186 cterm=NONE
|
bgneal@0
|
192 hi Folded ctermfg=NONE ctermbg=151 cterm=NONE
|
bgneal@0
|
193 hi FoldColumn ctermfg=fg ctermbg=114 cterm=NONE
|
bgneal@0
|
194 hi DiffAdd ctermfg=NONE ctermbg=146 cterm=NONE
|
bgneal@0
|
195 hi DiffChange ctermfg=NONE ctermbg=182 cterm=NONE
|
bgneal@0
|
196 hi DiffDelete ctermfg=18 ctermbg=252 cterm=NONE
|
bgneal@0
|
197 hi DiffText ctermfg=NONE ctermbg=150 cterm=NONE
|
bgneal@0
|
198 hi SignColumn ctermfg=fg ctermbg=114 cterm=NONE
|
bgneal@0
|
199
|
bgneal@0
|
200 hi IncSearch ctermfg=255 ctermbg=95 cterm=NONE
|
bgneal@0
|
201 hi StatusLineNC ctermfg=fg ctermbg=250 cterm=NONE
|
bgneal@0
|
202 hi VertSplit ctermfg=fg ctermbg=250 cterm=NONE
|
bgneal@0
|
203 hi Underlined ctermfg=62 ctermbg=NONE cterm=underline
|
bgneal@0
|
204 hi Ignore ctermfg=bg ctermbg=NONE
|
bgneal@0
|
205 " NOTE THIS IS IN THE WARM SECTION
|
bgneal@0
|
206 if v:version >= 700
|
bgneal@0
|
207 if has('spell')
|
bgneal@0
|
208 if 0
|
bgneal@0
|
209 " ctermsp is not supported in Vim7, we ignore it.
|
bgneal@0
|
210 hi SpellBad cterm=undercurl ctermbg=NONE ctermfg=130
|
bgneal@0
|
211 hi SpellCap cterm=undercurl ctermbg=NONE ctermfg=25
|
bgneal@0
|
212 hi SpellRare cterm=undercurl ctermbg=NONE ctermfg=133
|
bgneal@0
|
213 hi SpellLocal cterm=undercurl ctermbg=NONE ctermfg=23
|
bgneal@0
|
214 else
|
bgneal@0
|
215 hi SpellBad cterm=undercurl ctermbg=NONE ctermfg=NONE
|
bgneal@0
|
216 hi SpellCap cterm=undercurl ctermbg=NONE ctermfg=NONE
|
bgneal@0
|
217 hi SpellRare cterm=undercurl ctermbg=NONE ctermfg=NONE
|
bgneal@0
|
218 hi SpellLocal cterm=undercurl ctermbg=NONE ctermfg=NONE
|
bgneal@0
|
219 endif
|
bgneal@0
|
220 endif
|
bgneal@0
|
221 hi Pmenu ctermfg=fg ctermbg=182
|
bgneal@0
|
222 hi PmenuSel ctermfg=255 ctermbg=95 cterm=NONE
|
bgneal@0
|
223 hi PmenuSbar ctermfg=fg ctermbg=250 cterm=NONE
|
bgneal@0
|
224 hi PmenuThumb ctermfg=fg ctermbg=150 cterm=NONE
|
bgneal@0
|
225 hi TabLine ctermfg=fg ctermbg=250 cterm=NONE
|
bgneal@0
|
226 hi TabLineFill ctermfg=fg ctermbg=250 cterm=NONE
|
bgneal@0
|
227 hi TabLineSel ctermfg=fg ctermbg=NONE cterm=NONE
|
bgneal@0
|
228 hi CursorColumn ctermfg=NONE ctermbg=216
|
bgneal@0
|
229 hi CursorLine ctermfg=NONE ctermbg=NONE cterm=underline
|
bgneal@0
|
230 hi MatchParen ctermfg=NONE ctermbg=150
|
bgneal@0
|
231 endif
|
bgneal@0
|
232
|
bgneal@0
|
233 hi TabLine cterm=underline
|
bgneal@0
|
234 hi TabLineFill cterm=underline
|
bgneal@0
|
235 hi CursorLine cterm=underline
|
bgneal@0
|
236
|
bgneal@0
|
237 " For reversed stuffs, clear the reversed prop and set the bold prop again
|
bgneal@0
|
238 hi IncSearch cterm=bold
|
bgneal@0
|
239 hi StatusLine cterm=bold
|
bgneal@0
|
240 hi StatusLineNC cterm=bold
|
bgneal@0
|
241 hi VertSplit cterm=bold
|
bgneal@0
|
242 hi Visual cterm=bold
|
bgneal@0
|
243
|
bgneal@0
|
244 hi NonText cterm=bold
|
bgneal@0
|
245 hi Question cterm=bold
|
bgneal@0
|
246 hi Title cterm=bold
|
bgneal@0
|
247 hi DiffDelete cterm=bold
|
bgneal@0
|
248 hi DiffText cterm=bold
|
bgneal@0
|
249 hi Statement cterm=bold
|
bgneal@0
|
250 hi Type cterm=bold
|
bgneal@0
|
251 hi MoreMsg cterm=bold
|
bgneal@0
|
252 hi ModeMsg cterm=bold
|
bgneal@0
|
253 hi TabLineSel cterm=bold
|
bgneal@0
|
254
|
bgneal@0
|
255 "hi lCursor ctermfg=bg ctermbg=fg cterm=NONE
|
bgneal@0
|
256 endif " t_Co==256
|
bgneal@0
|
257 " }}}2
|
bgneal@0
|
258 elseif &background=='dark'
|
bgneal@0
|
259 " for background=dark {{{2
|
bgneal@0
|
260 " DARK COLOR DEFINE START
|
bgneal@0
|
261
|
bgneal@0
|
262 hi Normal guifg=#d0d0d0 guibg=#202020 gui=NONE
|
bgneal@0
|
263 hi Comment guifg=#d0d090 guibg=NONE gui=NONE
|
bgneal@0
|
264 hi Constant guifg=#80c0e0 guibg=NONE gui=NONE
|
bgneal@0
|
265 hi Number guifg=#e0c060 guibg=NONE gui=NONE
|
bgneal@0
|
266 hi Identifier guifg=#f0c0f0 guibg=NONE gui=NONE
|
bgneal@0
|
267 hi Statement guifg=#c0d8f8 guibg=NONE gui=NONE
|
bgneal@0
|
268 hi PreProc guifg=#60f080 guibg=NONE gui=NONE
|
bgneal@0
|
269 hi Type guifg=#b0d0f0 guibg=NONE gui=NONE
|
bgneal@0
|
270 hi Special guifg=#e0c060 guibg=NONE gui=NONE
|
bgneal@0
|
271 hi Error guifg=#f08060 guibg=NONE gui=NONE
|
bgneal@0
|
272 hi Todo guifg=#800000 guibg=#d0d090 gui=NONE
|
bgneal@0
|
273 hi Search guifg=NONE guibg=#800000 gui=NONE
|
bgneal@0
|
274 hi Visual guifg=#000000 guibg=#a6caf0 gui=NONE
|
bgneal@0
|
275 hi Cursor guifg=#000000 guibg=#00f000 gui=NONE
|
bgneal@0
|
276 " NOTE THIS IS IN THE COOL SECTION
|
bgneal@0
|
277 " hi CursorIM guifg=#000000 guibg=#f000f0 gui=NONE
|
bgneal@0
|
278 hi StatusLine guifg=#000000 guibg=#a6caf0 gui=NONE
|
bgneal@0
|
279 hi LineNr guifg=#b0b0b0 guibg=NONE gui=NONE
|
bgneal@0
|
280 hi Question guifg=#000000 guibg=#d0d090 gui=NONE
|
bgneal@0
|
281 hi ModeMsg guifg=fg guibg=#000080 gui=NONE
|
bgneal@0
|
282 hi VisualNOS guifg=fg guibg=#000080 gui=NONE
|
bgneal@0
|
283 hi SpecialKey guifg=#b0d0f0 guibg=NONE gui=NONE
|
bgneal@0
|
284 hi NonText guifg=#6080f0 guibg=#101010 gui=NONE
|
bgneal@0
|
285 hi Directory guifg=#80c0e0 guibg=NONE gui=NONE
|
bgneal@0
|
286 hi ErrorMsg guifg=#d0d090 guibg=#800000 gui=NONE
|
bgneal@0
|
287 hi MoreMsg guifg=#c0e080 guibg=NONE gui=NONE
|
bgneal@0
|
288 hi Title guifg=#f0c0f0 guibg=NONE gui=NONE
|
bgneal@0
|
289 hi WarningMsg guifg=#f08060 guibg=NONE gui=NONE
|
bgneal@0
|
290 hi WildMenu guifg=#000000 guibg=#d0d090 gui=NONE
|
bgneal@0
|
291 hi Folded guifg=NONE guibg=#004000 gui=NONE
|
bgneal@0
|
292 hi FoldColumn guifg=#e0e0e0 guibg=#008000 gui=NONE
|
bgneal@0
|
293 hi DiffAdd guifg=NONE guibg=#000080 gui=NONE
|
bgneal@0
|
294 hi DiffChange guifg=NONE guibg=#800080 gui=NONE
|
bgneal@0
|
295 hi DiffDelete guifg=#6080f0 guibg=#202020 gui=NONE
|
bgneal@0
|
296 hi DiffText guifg=#000000 guibg=#c0e080 gui=NONE
|
bgneal@0
|
297 hi SignColumn guifg=#e0e0e0 guibg=#008000 gui=NONE
|
bgneal@0
|
298 hi IncSearch guifg=#000000 guibg=#d0d0d0 gui=NONE
|
bgneal@0
|
299 hi StatusLineNC guifg=#000000 guibg=#c0c0c0 gui=NONE
|
bgneal@0
|
300 hi VertSplit guifg=#000000 guibg=#c0c0c0 gui=NONE
|
bgneal@0
|
301 hi Underlined guifg=#80a0ff guibg=NONE gui=underline
|
bgneal@0
|
302 hi Ignore guifg=#000000 guibg=NONE
|
bgneal@0
|
303 " NOTE THIS IS IN THE COOL SECTION
|
bgneal@0
|
304 if v:version >= 700
|
bgneal@0
|
305 if has('spell')
|
bgneal@0
|
306 " the guisp= could only support in Vim 7
|
bgneal@0
|
307 hi SpellBad guifg=NONE guibg=NONE guisp=#f08060
|
bgneal@0
|
308 hi SpellCap guifg=NONE guibg=NONE guisp=#6080f0
|
bgneal@0
|
309 hi SpellRare guifg=NONE guibg=NONE guisp=#f0c0f0
|
bgneal@0
|
310 hi SpellLocal guifg=NONE guibg=NONE guisp=#c0d8f8
|
bgneal@0
|
311 endif
|
bgneal@0
|
312 hi Pmenu guifg=fg guibg=#800080
|
bgneal@0
|
313 hi PmenuSel guifg=#000000 guibg=#d0d0d0 gui=NONE
|
bgneal@0
|
314 hi PmenuSbar guifg=fg guibg=#000080 gui=NONE
|
bgneal@0
|
315 hi PmenuThumb guifg=fg guibg=#008000 gui=NONE
|
bgneal@0
|
316 hi TabLine guifg=fg guibg=#008000 gui=NONE
|
bgneal@0
|
317 hi TabLineFill guifg=fg guibg=#008000 gui=NONE
|
bgneal@0
|
318 hi TabLineSel guifg=fg guibg=NONE gui=NONE
|
bgneal@0
|
319 hi CursorColumn guifg=NONE guibg=#800000 gui=NONE
|
bgneal@0
|
320 hi CursorLine guifg=NONE guibg=NONE gui=underline
|
bgneal@0
|
321 hi MatchParen guifg=NONE guibg=#800080
|
bgneal@0
|
322 endif
|
bgneal@0
|
323
|
bgneal@0
|
324 " DARK COLOR DEFINE END
|
bgneal@0
|
325
|
bgneal@0
|
326 " Vim 7 added stuffs
|
bgneal@0
|
327 if v:version >= 700
|
bgneal@0
|
328 hi Ignore gui=NONE
|
bgneal@0
|
329
|
bgneal@0
|
330 " the gui=undercurl could only support in Vim 7
|
bgneal@0
|
331 if has('spell')
|
bgneal@0
|
332 hi SpellBad gui=undercurl
|
bgneal@0
|
333 hi SpellCap gui=undercurl
|
bgneal@0
|
334 hi SpellRare gui=undercurl
|
bgneal@0
|
335 hi SpellLocal gui=undercurl
|
bgneal@0
|
336 endif
|
bgneal@0
|
337 hi TabLine gui=underline
|
bgneal@0
|
338 hi TabLineFill gui=underline
|
bgneal@0
|
339 hi Underlined gui=underline
|
bgneal@0
|
340 hi CursorLine gui=underline
|
bgneal@0
|
341 endif
|
bgneal@0
|
342
|
bgneal@0
|
343 " gui define for background=dark end here
|
bgneal@0
|
344
|
bgneal@0
|
345 if &t_Co==8 || &t_Co==16
|
bgneal@0
|
346 " for 8-color and 16-color term
|
bgneal@0
|
347 hi Normal ctermfg=LightGrey ctermbg=Black
|
bgneal@0
|
348 hi Special ctermfg=Yellow ctermbg=bg
|
bgneal@0
|
349 hi Comment ctermfg=DarkYellow ctermbg=bg
|
bgneal@0
|
350 hi Constant ctermfg=Blue ctermbg=bg
|
bgneal@0
|
351 hi Number ctermfg=Yellow ctermbg=bg
|
bgneal@0
|
352 hi LineNr ctermfg=DarkGrey ctermbg=bg
|
bgneal@0
|
353 hi PreProc ctermfg=Green ctermbg=bg
|
bgneal@0
|
354 hi Statement ctermfg=Cyan ctermbg=bg
|
bgneal@0
|
355 hi Type ctermfg=Cyan ctermbg=bg
|
bgneal@0
|
356 hi Error ctermfg=Red ctermbg=bg
|
bgneal@0
|
357 hi Identifier ctermfg=Magenta ctermbg=bg
|
bgneal@0
|
358 hi SpecialKey ctermfg=Cyan ctermbg=bg
|
bgneal@0
|
359 hi NonText ctermfg=Blue ctermbg=bg
|
bgneal@0
|
360 hi Directory ctermfg=Blue ctermbg=bg
|
bgneal@0
|
361 hi MoreMsg ctermfg=Green ctermbg=bg
|
bgneal@0
|
362 hi Title ctermfg=Magenta ctermbg=bg
|
bgneal@0
|
363 hi WarningMsg ctermfg=Red ctermbg=bg
|
bgneal@0
|
364 hi DiffDelete ctermfg=Blue ctermbg=bg
|
bgneal@0
|
365
|
bgneal@0
|
366 hi Search ctermfg=NONE ctermbg=DarkRed
|
bgneal@0
|
367 hi Visual ctermfg=Black ctermbg=DarkCyan
|
bgneal@0
|
368 hi Cursor ctermfg=Black ctermbg=Green
|
bgneal@0
|
369 hi StatusLine ctermfg=Black ctermbg=DarkCyan
|
bgneal@0
|
370 hi Question ctermfg=Black ctermbg=DarkYellow
|
bgneal@0
|
371 hi Todo ctermfg=DarkRed ctermbg=DarkYellow
|
bgneal@0
|
372 hi Folded ctermfg=White ctermbg=DarkGreen
|
bgneal@0
|
373 hi ModeMsg ctermfg=Grey ctermbg=DarkBlue
|
bgneal@0
|
374 hi VisualNOS ctermfg=Grey ctermbg=DarkBlue
|
bgneal@0
|
375 hi ErrorMsg ctermfg=DarkYellow ctermbg=DarkRed
|
bgneal@0
|
376 hi WildMenu ctermfg=Black ctermbg=DarkYellow
|
bgneal@0
|
377 hi FoldColumn ctermfg=White ctermbg=DarkGreen
|
bgneal@0
|
378 hi SignColumn ctermfg=White ctermbg=DarkGreen
|
bgneal@0
|
379 hi DiffText ctermfg=Black ctermbg=DarkYellow
|
bgneal@0
|
380
|
bgneal@0
|
381 if v:version >= 700
|
bgneal@0
|
382 if has('spell')
|
bgneal@0
|
383 hi SpellBad ctermfg=NONE ctermbg=DarkRed
|
bgneal@0
|
384 hi SpellCap ctermfg=NONE ctermbg=DarkBlue
|
bgneal@0
|
385 hi SpellRare ctermfg=NONE ctermbg=DarkMagenta
|
bgneal@0
|
386 hi SpellLocal ctermfg=NONE ctermbg=DarkGreen
|
bgneal@0
|
387 endif
|
bgneal@0
|
388 hi Pmenu ctermfg=fg ctermbg=DarkMagenta
|
bgneal@0
|
389 hi PmenuSel ctermfg=Black ctermbg=fg
|
bgneal@0
|
390 hi PmenuSbar ctermfg=fg ctermbg=DarkBlue
|
bgneal@0
|
391 hi PmenuThumb ctermfg=fg ctermbg=DarkGreen
|
bgneal@0
|
392 hi TabLine ctermfg=fg ctermbg=DarkGreen cterm=underline
|
bgneal@0
|
393 hi TabLineFill ctermfg=fg ctermbg=DarkGreen cterm=underline
|
bgneal@0
|
394 hi CursorColumn ctermfg=NONE ctermbg=DarkRed
|
bgneal@0
|
395
|
bgneal@0
|
396 hi TabLineSel ctermfg=fg ctermbg=bg
|
bgneal@0
|
397 hi CursorLine ctermfg=NONE ctermbg=bg cterm=underline
|
bgneal@0
|
398
|
bgneal@0
|
399 hi MatchParen ctermfg=NONE ctermbg=DarkMagenta
|
bgneal@0
|
400 endif
|
bgneal@0
|
401 if &t_Co==8
|
bgneal@0
|
402 " 8 colour terminal support, this assumes 16 colour is available through
|
bgneal@0
|
403 " setting the 'bold' attribute, will get bright foreground colour.
|
bgneal@0
|
404 " However, the bright background color is not available for 8-color terms.
|
bgneal@0
|
405 "
|
bgneal@0
|
406 " You can manually set t_Co=16 in your .vimrc to see if your terminal
|
bgneal@0
|
407 " supports 16 colours,
|
bgneal@0
|
408 hi DiffText cterm=none
|
bgneal@0
|
409 hi Visual cterm=none
|
bgneal@0
|
410 hi Cursor cterm=none
|
bgneal@0
|
411 hi Comment cterm=none
|
bgneal@0
|
412 hi Todo cterm=none
|
bgneal@0
|
413 hi StatusLine cterm=none
|
bgneal@0
|
414 hi Question cterm=none
|
bgneal@0
|
415 hi DiffChange cterm=none
|
bgneal@0
|
416 hi ModeMsg cterm=none
|
bgneal@0
|
417 hi VisualNOS cterm=none
|
bgneal@0
|
418 hi ErrorMsg cterm=none
|
bgneal@0
|
419 hi WildMenu cterm=none
|
bgneal@0
|
420 hi DiffAdd cterm=none
|
bgneal@0
|
421 hi Folded cterm=none
|
bgneal@0
|
422 hi DiffDelete cterm=none
|
bgneal@0
|
423 hi Normal cterm=none
|
bgneal@0
|
424 hi PmenuThumb cterm=none
|
bgneal@0
|
425 hi Search cterm=bold
|
bgneal@0
|
426 hi Special cterm=bold
|
bgneal@0
|
427 hi Constant cterm=bold
|
bgneal@0
|
428 hi Number cterm=bold
|
bgneal@0
|
429 hi LineNr cterm=bold
|
bgneal@0
|
430 hi PreProc cterm=bold
|
bgneal@0
|
431 hi Statement cterm=bold
|
bgneal@0
|
432 hi Type cterm=bold
|
bgneal@0
|
433 hi Error cterm=bold
|
bgneal@0
|
434 hi Identifier cterm=bold
|
bgneal@0
|
435 hi SpecialKey cterm=bold
|
bgneal@0
|
436 hi NonText cterm=bold
|
bgneal@0
|
437 hi MoreMsg cterm=bold
|
bgneal@0
|
438 hi Title cterm=bold
|
bgneal@0
|
439 hi WarningMsg cterm=bold
|
bgneal@0
|
440 hi FoldColumn cterm=bold
|
bgneal@0
|
441 hi SignColumn cterm=bold
|
bgneal@0
|
442 hi Directory cterm=bold
|
bgneal@0
|
443 hi DiffDelete cterm=bold
|
bgneal@0
|
444 else
|
bgneal@0
|
445 " Background > 7 is only available with 16 or more colors
|
bgneal@0
|
446
|
bgneal@0
|
447 hi WarningMsg cterm=none
|
bgneal@0
|
448 hi Search cterm=none
|
bgneal@0
|
449 hi Visual cterm=none
|
bgneal@0
|
450 hi Cursor cterm=none
|
bgneal@0
|
451 hi Special cterm=none
|
bgneal@0
|
452 hi Comment cterm=none
|
bgneal@0
|
453 hi Constant cterm=none
|
bgneal@0
|
454 hi Number cterm=none
|
bgneal@0
|
455 hi LineNr cterm=none
|
bgneal@0
|
456 hi PreProc cterm=none
|
bgneal@0
|
457 hi Todo cterm=none
|
bgneal@0
|
458 hi Error cterm=none
|
bgneal@0
|
459 hi Identifier cterm=none
|
bgneal@0
|
460 hi Folded cterm=none
|
bgneal@0
|
461 hi SpecialKey cterm=none
|
bgneal@0
|
462 hi Directory cterm=none
|
bgneal@0
|
463 hi ErrorMsg cterm=none
|
bgneal@0
|
464 hi Normal cterm=none
|
bgneal@0
|
465 hi PmenuThumb cterm=none
|
bgneal@0
|
466 hi WildMenu cterm=none
|
bgneal@0
|
467 hi FoldColumn cterm=none
|
bgneal@0
|
468 hi SignColumn cterm=none
|
bgneal@0
|
469 hi DiffAdd cterm=none
|
bgneal@0
|
470 hi DiffChange cterm=none
|
bgneal@0
|
471 hi Question cterm=none
|
bgneal@0
|
472 hi StatusLine cterm=none
|
bgneal@0
|
473 hi DiffText cterm=none
|
bgneal@0
|
474 hi IncSearch cterm=reverse
|
bgneal@0
|
475 hi StatusLineNC cterm=reverse
|
bgneal@0
|
476 hi VertSplit cterm=reverse
|
bgneal@0
|
477
|
bgneal@0
|
478 " Well, well, bold font with color 0-7 is not possible.
|
bgneal@0
|
479 " So, the Question, StatusLine, DiffText cannot act as expected.
|
bgneal@0
|
480
|
bgneal@0
|
481 hi Statement cterm=none
|
bgneal@0
|
482 hi Type cterm=none
|
bgneal@0
|
483 hi MoreMsg cterm=none
|
bgneal@0
|
484 hi ModeMsg cterm=none
|
bgneal@0
|
485 hi NonText cterm=none
|
bgneal@0
|
486 hi Title cterm=none
|
bgneal@0
|
487 hi VisualNOS cterm=none
|
bgneal@0
|
488 hi DiffDelete cterm=none
|
bgneal@0
|
489 hi TabLineSel cterm=none
|
bgneal@0
|
490
|
bgneal@0
|
491 endif
|
bgneal@0
|
492 elseif &t_Co==256
|
bgneal@0
|
493 " 256color dark terminal support here
|
bgneal@0
|
494 hi Normal ctermfg=252 ctermbg=234 cterm=NONE
|
bgneal@0
|
495 " Comment/Uncomment the following line to disable/enable transparency
|
bgneal@0
|
496 "hi Normal ctermfg=252 ctermbg=NONE cterm=NONE
|
bgneal@0
|
497 hi Comment ctermfg=186 ctermbg=NONE cterm=NONE
|
bgneal@0
|
498 hi Constant ctermfg=110 ctermbg=NONE cterm=NONE
|
bgneal@0
|
499 hi Number ctermfg=179 ctermbg=NONE cterm=NONE
|
bgneal@0
|
500 hi Identifier ctermfg=219 ctermbg=NONE cterm=NONE
|
bgneal@0
|
501 hi Statement ctermfg=153 ctermbg=NONE cterm=NONE
|
bgneal@0
|
502 hi PreProc ctermfg=84 ctermbg=NONE cterm=NONE
|
bgneal@0
|
503 hi Type ctermfg=153 ctermbg=NONE cterm=NONE
|
bgneal@0
|
504 hi Special ctermfg=179 ctermbg=NONE cterm=NONE
|
bgneal@0
|
505 hi Error ctermfg=209 ctermbg=NONE cterm=NONE
|
bgneal@0
|
506 hi Todo ctermfg=88 ctermbg=186 cterm=NONE
|
bgneal@0
|
507 hi Search ctermfg=NONE ctermbg=88 cterm=NONE
|
bgneal@0
|
508 hi Visual ctermfg=16 ctermbg=153 cterm=NONE
|
bgneal@0
|
509 hi Cursor ctermfg=16 ctermbg=46 cterm=NONE
|
bgneal@0
|
510 " NOTE THIS IS IN THE COOL SECTION
|
bgneal@0
|
511 " hi CursorIM ctermfg=16 ctermbg=201 cterm=NONE
|
bgneal@0
|
512 hi StatusLine ctermfg=16 ctermbg=153 cterm=NONE
|
bgneal@0
|
513 hi LineNr ctermfg=249 ctermbg=NONE cterm=NONE
|
bgneal@0
|
514 hi Question ctermfg=16 ctermbg=186 cterm=NONE
|
bgneal@0
|
515 hi ModeMsg ctermfg=fg ctermbg=18 cterm=NONE
|
bgneal@0
|
516 hi VisualNOS ctermfg=fg ctermbg=18 cterm=NONE
|
bgneal@0
|
517 hi SpecialKey ctermfg=153 ctermbg=NONE cterm=NONE
|
bgneal@0
|
518 hi NonText ctermfg=69 ctermbg=233 cterm=NONE
|
bgneal@0
|
519 " Comment/Uncomment the following line to disable/enable transparency
|
bgneal@0
|
520 "hi NonText ctermfg=69 ctermbg=NONE cterm=NONE
|
bgneal@0
|
521 hi Directory ctermfg=110 ctermbg=NONE cterm=NONE
|
bgneal@0
|
522 hi ErrorMsg ctermfg=186 ctermbg=88 cterm=NONE
|
bgneal@0
|
523 hi MoreMsg ctermfg=150 ctermbg=NONE cterm=NONE
|
bgneal@0
|
524 hi Title ctermfg=219 ctermbg=NONE cterm=NONE
|
bgneal@0
|
525 hi WarningMsg ctermfg=209 ctermbg=NONE cterm=NONE
|
bgneal@0
|
526 hi WildMenu ctermfg=16 ctermbg=186 cterm=NONE
|
bgneal@0
|
527 hi Folded ctermfg=NONE ctermbg=22 cterm=NONE
|
bgneal@0
|
528 hi FoldColumn ctermfg=254 ctermbg=28 cterm=NONE
|
bgneal@0
|
529 hi DiffAdd ctermfg=NONE ctermbg=18 cterm=NONE
|
bgneal@0
|
530 hi DiffChange ctermfg=NONE ctermbg=90 cterm=NONE
|
bgneal@0
|
531 hi DiffDelete ctermfg=69 ctermbg=234 cterm=NONE
|
bgneal@0
|
532 hi DiffText ctermfg=16 ctermbg=150 cterm=NONE
|
bgneal@0
|
533 hi SignColumn ctermfg=254 ctermbg=28 cterm=NONE
|
bgneal@0
|
534 hi IncSearch ctermfg=16 ctermbg=252 cterm=NONE
|
bgneal@0
|
535 hi StatusLineNC ctermfg=16 ctermbg=250 cterm=NONE
|
bgneal@0
|
536 hi VertSplit ctermfg=16 ctermbg=250 cterm=NONE
|
bgneal@0
|
537 hi Underlined ctermfg=111 ctermbg=NONE cterm=underline
|
bgneal@0
|
538 hi Ignore ctermfg=16 ctermbg=NONE
|
bgneal@0
|
539 " NOTE THIS IS IN THE COOL SECTION
|
bgneal@0
|
540 if v:version >= 700
|
bgneal@0
|
541 if has('spell')
|
bgneal@0
|
542 " the ctermsp= is not supported in Vim 7 we simply ignored
|
bgneal@0
|
543 if 0
|
bgneal@0
|
544 hi SpellBad cterm=undercurl ctermbg=NONE ctermfg=209
|
bgneal@0
|
545 hi SpellCap cterm=undercurl ctermbg=NONE ctermfg=69
|
bgneal@0
|
546 hi SpellRare cterm=undercurl ctermbg=NONE ctermfg=219
|
bgneal@0
|
547 hi SpellLocal cterm=undercurl ctermbg=NONE ctermfg=153
|
bgneal@0
|
548 else
|
bgneal@0
|
549 hi SpellBad cterm=undercurl ctermbg=NONE ctermfg=NONE
|
bgneal@0
|
550 hi SpellCap cterm=undercurl ctermbg=NONE ctermfg=NONE
|
bgneal@0
|
551 hi SpellRare cterm=undercurl ctermbg=NONE ctermfg=NONE
|
bgneal@0
|
552 hi SpellLocal cterm=undercurl ctermbg=NONE ctermfg=NONE
|
bgneal@0
|
553 endif
|
bgneal@0
|
554 endif
|
bgneal@0
|
555 hi Pmenu ctermfg=fg ctermbg=90
|
bgneal@0
|
556 hi PmenuSel ctermfg=16 ctermbg=252 cterm=NONE
|
bgneal@0
|
557 hi PmenuSbar ctermfg=fg ctermbg=18 cterm=NONE
|
bgneal@0
|
558 hi PmenuThumb ctermfg=fg ctermbg=28 cterm=NONE
|
bgneal@0
|
559 hi TabLine ctermfg=fg ctermbg=28 cterm=NONE
|
bgneal@0
|
560 hi TabLineFill ctermfg=fg ctermbg=28 cterm=NONE
|
bgneal@0
|
561 hi TabLineSel ctermfg=fg ctermbg=NONE cterm=NONE
|
bgneal@0
|
562 hi CursorColumn ctermfg=NONE ctermbg=88 cterm=NONE
|
bgneal@0
|
563 hi CursorLine ctermfg=NONE ctermbg=NONE cterm=underline
|
bgneal@0
|
564 hi MatchParen ctermfg=NONE ctermbg=90
|
bgneal@0
|
565 hi TabLine cterm=underline
|
bgneal@0
|
566 hi TabLineFill cterm=underline
|
bgneal@0
|
567 hi Underlined cterm=underline
|
bgneal@0
|
568 hi CursorLine cterm=underline
|
bgneal@0
|
569 endif
|
bgneal@0
|
570
|
bgneal@0
|
571 endif " t_Co
|
bgneal@0
|
572
|
bgneal@0
|
573 " }}}2
|
bgneal@0
|
574 endif
|
bgneal@0
|
575
|
bgneal@0
|
576 " Links:
|
bgneal@0
|
577 "
|
bgneal@0
|
578 " COLOR LINKS DEFINE START
|
bgneal@0
|
579
|
bgneal@0
|
580 hi link String Constant
|
bgneal@0
|
581 " Character must be different from strings because in many languages
|
bgneal@0
|
582 " (especially C, C++) a 'char' variable is scalar while 'string' is pointer,
|
bgneal@0
|
583 " mistaken a 'char' for a 'string' will cause disaster!
|
bgneal@0
|
584 hi link Character Number
|
bgneal@0
|
585 hi link SpecialChar LineNr
|
bgneal@0
|
586 hi link Tag Identifier
|
bgneal@0
|
587 hi link cCppOut LineNr
|
bgneal@0
|
588 " The following are not standard hi links,
|
bgneal@0
|
589 " these are used by DrChip
|
bgneal@0
|
590 hi link Warning MoreMsg
|
bgneal@0
|
591 hi link Notice Constant
|
bgneal@0
|
592 " these are used by Calendar
|
bgneal@0
|
593 hi link CalToday PreProc
|
bgneal@0
|
594 " these are used by TagList
|
bgneal@0
|
595 hi link MyTagListTagName IncSearch
|
bgneal@0
|
596 hi link MyTagListTagScope Constant
|
bgneal@0
|
597
|
bgneal@0
|
598 " COLOR LINKS DEFINE END
|
bgneal@0
|
599
|
bgneal@0
|
600 " vim:et:nosta:sw=2:ts=8:
|
bgneal@0
|
601 " vim600:fdm=marker:fdl=1:
|