]> git.r.bdr.sh - rbdr/dotfiles/blame_incremental - vim/colors/lettuce.vim
Turn off the blur
[rbdr/dotfiles] / vim / colors / lettuce.vim
... / ...
CommitLineData
1" Vim color file
2" Version: 1.2 2007.08.08
3" Author: Valyaeff Valentin <hhyperr AT gmail DOT com>
4" License: GPL
5"
6" Copyright 2007 Valyaeff Valentin
7"
8" This program is free software: you can redistribute it and/or modify
9" it under the terms of the GNU General Public License as published by
10" the Free Software Foundation, either version 3 of the License, or
11" (at your option) any later version.
12"
13" This program is distributed in the hope that it will be useful,
14" but WITHOUT ANY WARRANTY; without even the implied warranty of
15" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16" GNU General Public License for more details.
17"
18" You should have received a copy of the GNU General Public License
19" along with this program. If not, see <http://www.gnu.org/licenses/>.
20
21set background=dark
22hi clear
23if exists("syntax_on")
24 syntax reset
25endif
26let g:colors_name="lettuce"
27
28
29augroup Syntax_extensions
30 au!
31 au Syntax c,cpp,ruby,javascript syn match Operator "[*/%&|!=><^~,.;:?+-]\+" display contains=TOP
32 au Syntax c,cpp syn region cParen matchgroup=Operator transparent start='(' end=')' contains=ALLBUT,@cParenGroup,cCppParen,cErrInBracket,cCppBracket,cCppString,@Spell
33 au Syntax c,cpp syn region cCppParen matchgroup=Operator transparent start='(' skip='\\$' excludenl end=')' end='$' contained contains=ALLBUT,@cParenGroup,cErrInBracket,cParen,cBracket,cString,@Spell
34 au Syntax c,cpp syn region cBracket matchgroup=Operator transparent start='\[\|<::\@!' end=']\|:>' contains=ALLBUT,@cParenGroup,cErrInParen,cCppParen,cCppBracket,cCppString,@Spell
35 au Syntax c,cpp syn region cCppBracket matchgroup=Operator transparent start='\[\|<::\@!' skip='\\$' excludenl end=']\|:>' end='$' contained contains=ALLBUT,@cParenGroup,cErrInParen,cParen,cBracket,cString,@Spell
36 au Syntax c,cpp syn region cBlock matchgroup=OperatorCurlyBrackets start="{" end="}" transparent fold
37 au Syntax ruby syn match rubyBlockParameter "\%(\%(\<do\>\|{\)\s*\)\@<=|\s*[( ,a-zA-Z0-9_*)]\+\ze\s*|"hs=s+1 display
38 au Syntax ruby syn region rubyCurlyBlock matchgroup=Operator start="{" end="}" contains=ALLBUT,@rubyExtendedStringSpecial,rubyTodo fold
39 au Syntax ruby syn region rubyParentheses matchgroup=Operator start="(" end=")" contains=ALLBUT,@rubyExtendedStringSpecial,rubyTodo
40 au Syntax ruby syn region rubySquareBrackets matchgroup=Operator start="\[" end="\]" contains=ALLBUT,@rubyExtendedStringSpecial,rubyTodo
41 au Syntax javascript syn region javascriptCurlyBrackets matchgroup=Operator start="{" end="}" transparent fold
42 au Syntax javascript syn region javascriptParentheses matchgroup=Operator start="(" end=")" transparent
43 au Syntax javascript syn region javascriptSquareBrackets matchgroup=Operator start="\[" end="\]" transparent
44augroup END
45
46
47if !has("gui_running")
48
49hi rubyGlobalVariable cterm=none ctermfg=64
50hi rubyPredefinedIdentifier cterm=bold ctermfg=64
51hi def link rubyStringDelimiter String
52
53hi Normal cterm=none ctermbg=232 ctermfg=189
54hi StatusLine cterm=none ctermbg=236 ctermfg=231
55hi StatusLineNC cterm=none ctermbg=236 ctermfg=103
56hi User1 cterm=bold ctermbg=236 ctermfg=223
57hi User2 cterm=none ctermbg=236 ctermfg=240
58hi VertSplit cterm=none ctermbg=236 ctermfg=103
59hi TabLine cterm=none ctermbg=236 ctermfg=145
60hi TabLineFill cterm=none ctermbg=236
61hi TabLineSel cterm=none ctermbg=240 ctermfg=253
62hi LineNr cterm=none ctermfg=238
63hi NonText cterm=bold ctermbg=233 ctermfg=241
64hi Folded cterm=none ctermbg=234 ctermfg=136
65hi FoldColumn cterm=none ctermbg=236 ctermfg=103
66hi SignColumn cterm=none ctermbg=236 ctermfg=103
67hi CursorColumn cterm=none ctermbg=234
68hi CursorLine cterm=none ctermbg=234
69hi IncSearch cterm=bold ctermbg=63 ctermfg=232
70hi Search cterm=none ctermbg=36 ctermfg=232
71hi Visual cterm=none ctermbg=24
72hi WildMenu cterm=bold ctermbg=35 ctermfg=232
73hi ModeMsg cterm=bold ctermfg=110
74hi MoreMsg cterm=bold ctermfg=121
75hi Question cterm=bold ctermfg=121
76hi ErrorMsg cterm=none ctermbg=88 ctermfg=255
77hi WarningMsg cterm=none ctermbg=58 ctermfg=255
78hi SpecialKey cterm=none ctermfg=77
79hi Title cterm=bold ctermfg=147
80hi Directory ctermfg=105
81hi DiffAdd cterm=none ctermbg=18
82hi DiffChange cterm=none ctermbg=58
83hi DiffDelete cterm=none ctermbg=52 ctermfg=58
84hi DiffText cterm=none ctermbg=53
85hi Pmenu cterm=none ctermbg=17 ctermfg=121
86hi PmenuSel cterm=none ctermbg=24 ctermfg=121
87hi PmenuSbar cterm=none ctermbg=19
88hi PmenuThumb cterm=none ctermbg=37
89hi MatchParen cterm=bold ctermbg=24
90hi SpellBad cterm=none ctermbg=88
91hi SpellCap cterm=none ctermbg=18
92hi SpellLocal cterm=none ctermbg=30
93hi SpellRare cterm=none ctermbg=90
94
95hi Comment cterm=none ctermfg=138
96hi Constant cterm=none ctermfg=215
97 hi String cterm=none ctermbg=235 ctermfg=215
98 hi Character cterm=none ctermbg=235 ctermfg=215
99 hi Number cterm=none ctermfg=34
100 hi Float cterm=none ctermfg=41
101hi Identifier cterm=none ctermfg=186
102 hi Function cterm=none ctermfg=210
103hi Statement cterm=bold ctermfg=63
104 hi Exception cterm=bold ctermfg=99
105 hi Operator cterm=none ctermfg=75
106 hi Label cterm=none ctermfg=63
107hi PreProc cterm=bold ctermfg=36
108hi Type cterm=bold ctermfg=71
109hi Special cterm=none ctermbg=235 ctermfg=87
110hi Underlined cterm=underline ctermfg=227
111hi Ignore cterm=bold ctermfg=235
112hi Error cterm=bold ctermbg=52 ctermfg=231
113hi Todo cterm=bold ctermbg=143 ctermfg=16
114
115hi OperatorCurlyBrackets cterm=bold ctermfg=75
116
117" highlight modes
118autocmd InsertEnter * hi StatusLine ctermbg=52
119autocmd InsertEnter * hi User1 ctermbg=52
120autocmd InsertEnter * hi User2 ctermbg=52
121autocmd InsertLeave * hi User2 ctermbg=236
122autocmd InsertLeave * hi User1 ctermbg=236
123autocmd InsertLeave * hi StatusLine ctermbg=236
124autocmd CmdwinEnter * hi StatusLine ctermbg=22
125autocmd CmdwinEnter * hi User1 ctermbg=22
126autocmd CmdwinEnter * hi User2 ctermbg=22
127autocmd CmdwinLeave * hi User2 ctermbg=236
128autocmd CmdwinLeave * hi User1 ctermbg=236
129autocmd CmdwinLeave * hi StatusLine ctermbg=236
130
131else
132
133hi rubyGlobalVariable gui=none guifg=#5f8700
134hi rubyPredefinedIdentifier gui=bold guifg=#5f8700
135hi def link rubyStringDelimiter String
136
137hi Normal gui=none guibg=#080808 guifg=#dfdfff
138hi StatusLine gui=none guibg=#303030 guifg=#ffffff
139hi StatusLineNC gui=none guibg=#303030 guifg=#8787af
140hi User1 gui=bold guibg=#303030 guifg=#ffdfaf
141hi User2 gui=none guibg=#303030 guifg=#585858
142hi VertSplit gui=none guibg=#303030 guifg=#8787af
143hi TabLine gui=none guibg=#303030 guifg=#afafaf
144hi TabLineFill gui=none guibg=#303030
145hi TabLineSel gui=none guibg=#585858 guifg=#dadada
146hi LineNr gui=none guifg=#444444
147hi NonText gui=bold guibg=#121212 guifg=#606060
148hi Folded gui=none guibg=#1c1c1c guifg=#af8700
149hi FoldColumn gui=none guibg=#303030 guifg=#8787af
150hi SignColumn gui=none guibg=#303030 guifg=#8787af
151hi CursorColumn gui=none guibg=#1c1c1c
152hi CursorLine gui=none guibg=#1c1c1c
153hi IncSearch gui=bold guibg=#5f5fff guifg=#080808
154hi Search gui=none guibg=#00af87 guifg=#080808
155hi Visual gui=none guibg=#005f87
156hi WildMenu gui=bold guibg=#00af5f guifg=#080808
157hi ModeMsg gui=bold guifg=#87afdf
158hi MoreMsg gui=bold guifg=#87ffaf
159hi Question gui=bold guifg=#87ffaf
160hi ErrorMsg gui=none guibg=#870000 guifg=#eeeeee
161hi WarningMsg gui=none guibg=#5f5f00 guifg=#eeeeee
162hi SpecialKey gui=none guifg=#5fdf5f
163hi Title gui=bold guifg=#afafff
164hi Directory guifg=#8787ff
165hi DiffAdd gui=none guibg=#000087
166hi DiffChange gui=none guibg=#5f5f00
167hi DiffDelete gui=none guibg=#5f0000 guifg=#5f5f00
168hi DiffText gui=none guibg=#5f005f
169hi Pmenu gui=none guibg=#00005f guifg=#87ffaf
170hi PmenuSel gui=none guibg=#005f87 guifg=#87ffaf
171hi PmenuSbar gui=none guibg=#0000af
172hi PmenuThumb gui=none guibg=#00afaf
173hi MatchParen gui=bold guibg=#005f87
174hi SpellBad gui=none guibg=#870000
175hi SpellCap gui=none guibg=#000087
176hi SpellLocal gui=none guibg=#008787
177hi SpellRare gui=none guibg=#870087
178
179hi Comment gui=none guifg=#af8787
180hi Constant gui=none guifg=#ffaf5f
181 hi String gui=none guibg=#262626 guifg=#ffaf5f
182 hi Character gui=none guibg=#262626 guifg=#ffaf5f
183 hi Number gui=none guifg=#00af00
184 hi Float gui=none guifg=#00df5f
185hi Identifier gui=none guifg=#dfdf87
186 hi Function gui=none guifg=#ff8787
187hi Statement gui=bold guifg=#5f5fff
188 hi Exception gui=bold guifg=#875fff
189 hi Operator gui=none guifg=#5fafff
190 hi Label gui=none guifg=#5f5fff
191hi PreProc gui=bold guifg=#00af87
192hi Type gui=bold guifg=#5faf5f
193hi Special gui=none guibg=#262626 guifg=#5fffff
194hi Underlined gui=underline guifg=#ffff5f
195hi Ignore gui=bold guifg=#262626
196hi Error gui=bold guibg=#5f0000 guifg=#ffffff
197hi Todo gui=bold guibg=#afaf5f guifg=#000000
198
199hi OperatorCurlyBrackets gui=bold guifg=#5fafff
200
201" highlight modes
202autocmd InsertEnter * hi StatusLine guibg=#5f0000
203autocmd InsertEnter * hi User1 guibg=#5f0000
204autocmd InsertEnter * hi User2 guibg=#5f0000
205autocmd InsertLeave * hi User2 guibg=#303030
206autocmd InsertLeave * hi User1 guibg=#303030
207autocmd InsertLeave * hi StatusLine guibg=#303030
208autocmd CmdwinEnter * hi StatusLine guibg=#005f00
209autocmd CmdwinEnter * hi User1 guibg=#005f00
210autocmd CmdwinEnter * hi User2 guibg=#005f00
211autocmd CmdwinLeave * hi User2 guibg=#303030
212autocmd CmdwinLeave * hi User1 guibg=#303030
213autocmd CmdwinLeave * hi StatusLine guibg=#303030
214
215end