]> git.r.bdr.sh - rbdr/dotfiles/blame - vim/colors/leo.vim
Update the stuff
[rbdr/dotfiles] / vim / colors / leo.vim
CommitLineData
0d23b6e5
BB
1" Vim color file
2" Maintainer: Lorenzo Leonini <vim-theme[a]leonini[.]net>
3" Last Change: 2009 Feb 23
4" URL: http://www.leonini.net
5
6" Description:
7" A contrasted theme for long programming sessions.
8" Specially for 256-colors term (xterm, Eterm, konsole, gnome-terminal, ...)
9" Very good with Ruby, C, Lua, PHP, HTML, shell...
10" (but no using language specific settings)
11
12" Note:
13" If your term report 8 colors (but is 256 capable), put 'set t_Co=256'
14" in your .vimrc
15
16" Tips:
17" :verbose hi StatusLine
18" Color numbers (0-255) see:
19" http://www.calmar.ws/vim/256-xterm-24bit-rgb-color-chart.html
20" :so $VIMRUNTIME/syntax/hitest.vim
21
22" 0.81 => 0.82
23" menu backgrounf lighter
24" LineNr
25" gui comments in italic
26"
27" 0.8 => 0.81
28" invisible char
29" line number
30" status bar
31" add MatchParen
32" add Underlined
33"
34" 0.6 => 0.8
35" GUI fixed, color < 16 fixed
36" comments from 247 => 249
37" main color 255 => 254
38" boolean and numbers more visible
39"
40" 0.5 => 0.6
41" Synchro with GUI
42
43" 0.3 => 0.5
44" Ligther vertical separation
45" Better diff
46" Better pmenu
47" Uniformisation between status bar, tabs and pmenu
48" Added spell hl
49" Change search highlight (I don't use it...)
50" Folding done
51" All in 256 code
52
53if !has("gui_running")
54 if &t_Co != 256
55 echomsg "err: Please use a 256-colors terminal (so that t_Co=256 could be set)."
56 echomsg ""
57 finish
58 end
59endif
60
61let g:colors_name = "leo256"
62
63set background=dark
64if v:version > 580
65 highlight clear
66 if exists("syntax_on")
67 syntax reset
68 endif
69endif
70
71" Normal should come first
72hi Normal cterm=none ctermfg=255 ctermbg=16 guibg=#000000 guifg=#ffffff
73hi CursorLine cterm=none ctermbg=16 guibg=#101010
74hi DiffAdd cterm=none ctermbg=235 guibg=#262626
75hi DiffChange cterm=none ctermbg=235 guibg=#262626
76hi DiffDelete cterm=none ctermfg=238 ctermbg=244 guibg=#808080 guifg=#444444
77hi DiffText cterm=bold ctermfg=255 ctermbg=196 guifg=#ffffff
78hi Directory cterm=none ctermfg=196
79hi ErrorMsg cterm=none ctermfg=255 ctermbg=160 guifg=#ffffff
80hi FoldColumn cterm=none ctermfg=110 ctermbg=16 guibg=#000000
81hi SignColumn cterm=none ctermbg=16 guibg=#000000
82hi Folded cterm=none ctermfg=16 ctermbg=110 guifg=#000000 guibg=#87afd7
83hi IncSearch cterm=reverse
84hi LineNr cterm=none ctermfg=228 ctermbg=16 guifg=#ffff87 guibg=#000000
85hi ModeMsg cterm=bold
86hi MoreMsg cterm=none ctermfg=40
87hi NonText cterm=none ctermfg=27
88hi Question cterm=none ctermfg=40
89hi Search cterm=none ctermfg=16 ctermbg=248 guifg=#000000 guibg=#a8a8a8
90hi SpecialKey cterm=none ctermfg=245 ctermbg=233 guifg=#8a8a8a guibg=#121212
91hi StatusLine cterm=bold ctermfg=255 ctermbg=19 guifg=#0000ff guibg=#ffffff
92hi StatusLineNC cterm=none ctermfg=252 ctermbg=17 guibg=#d0d0d0 guifg=#00005f
93hi Title cterm=none ctermfg=33
94hi VertSplit cterm=none ctermfg=254 ctermbg=16 guibg=#EEEEEE guifg=#000000
95hi Visual cterm=reverse ctermbg=none
96hi VisualNOS cterm=underline,bold
97hi WarningMsg cterm=none ctermfg=255 guifg=#ffffff
98hi WildMenu cterm=none ctermfg=16 ctermbg=11
99
100if v:version >= 700
101 " light
102 "hi Pmenu cterm=none ctermfg=16 ctermbg=252
103 "hi PmenuSel cterm=none ctermfg=255 ctermbg=21
104 "hi PmenuSbar cterm=none ctermfg=240 ctermbg=240
105 "hi PmenuThumb cterm=none ctermfg=255 ctermbg=255
106
107 "dark
108 hi Pmenu cterm=none ctermfg=255 ctermbg=237 guibg=#262626 guifg=#ffffff
109 hi PmenuSel cterm=none ctermfg=255 ctermbg=21 guibg=#0000ff guifg=#ffffff
110 hi PmenuSbar cterm=none ctermfg=240 ctermbg=240 guibg=#444444
111 hi PmenuThumb cterm=none ctermfg=255 ctermbg=255 guifg=#ffffff
112
113 hi SpellBad cterm=none ctermfg=16 ctermbg=196
114 hi SpellCap cterm=none ctermfg=16 ctermbg=196
115 hi SpellLocal cterm=none ctermfg=16 ctermbg=196
116 hi SpellRare cterm=none ctermfg=16 ctermbg=196
117
118 " No need for GUI colors :)
119 hi TabLine cterm=none ctermfg=252 ctermbg=17
120 hi TabLineSel cterm=none ctermfg=255 ctermbg=21
121 hi TabLineFill cterm=none ctermfg=17 ctermbg=17
122
123 hi MatchParen cterm=none ctermfg=16 ctermbg=226 guibg=#ffff00 guifg=#000000
124endif
125
126" syntax highlighting
127hi Boolean cterm=none ctermfg=171 guifg=#d75fff
128hi Character cterm=none ctermfg=184
129hi Comment cterm=none ctermfg=248 gui=italic guifg=#a8a8a8
130hi Constant cterm=none ctermfg=226 guifg=#ffff00
131hi Conditional cterm=none ctermfg=154 guifg=#afff00
132hi Define cterm=bold ctermfg=27 gui=bold guifg=#005fff
133hi Delimiter cterm=none ctermfg=196 guifg=#ff0000
134hi Exception cterm=bold ctermfg=226 gui=bold guifg=#ffff00
135hi Error cterm=none ctermfg=255 ctermbg=9 guifg=#ffffff
136hi Keyword cterm=none ctermfg=159 guifg=#afffff
137hi Function cterm=none ctermfg=196 guifg=#ff0000
138hi Identifier cterm=none ctermfg=33 guifg=#0087ff
139hi Number cterm=none ctermfg=209 guifg=#ff875f
140hi Operator cterm=none ctermfg=226 guifg=#ffff00
141hi PreProc cterm=none ctermfg=202 guifg=#ff5f00
142hi Special cterm=none ctermfg=206 ctermbg=234 guifg=#ff5fd7 guibg=#1c1c1c
143hi Statement cterm=none ctermfg=40 gui=none guifg=#00d700
144hi String cterm=none ctermfg=224 ctermbg=234 guifg=#ffd7d7 guibg=#1c1c1c
145hi Todo cterm=none ctermfg=16 ctermbg=226 guifg=#000000 guibg=#ffff00
146hi Type cterm=none ctermfg=75 gui=none guifg=#5fafff
147hi Underlined cterm=underline ctermfg=39 gui=underline guifg=#00afff
148
149" ADDITIONNAL
150hi Repeat cterm=none ctermfg=142 guifg=#afaf00