Permalink
Browse files

Merge pull request #1 from patriciomacadden/add_256_colors

added support to 256-color terminals.
  • Loading branch information...
2 parents adbb06a + 2e9c51e commit 61ca8e93945e2414b32df23b8e855921160b21c4 @nono committed Dec 19, 2011
Showing with 62 additions and 61 deletions.
  1. +62 −61 github.vim
View
@@ -13,68 +13,69 @@ if exists("syntax_on")
endif
let g:colors_name = "github"
-
-
-hi Comment guifg=#999988 gui=italic
-
-hi Constant guifg=#008080
- hi String guifg=#dd1144
- hi Character guifg=#dd1144
- hi Number guifg=#009999
- hi Boolean gui=bold
- hi Float guifg=#009999
- hi RubySymbol guifg=#990073
-
-hi Identifier guifg=#008080
- hi Function guifg=#990000 gui=bold
-
-hi Statement guifg=#000000 gui=bold
- hi Conditional guifg=#000000 gui=bold
- hi Repeat guifg=#000000 gui=bold
- hi Label guifg=#000000 gui=bold
- hi Operator guifg=#000000 gui=bold
- hi Keyword guifg=#000000 gui=bold
- hi Exception guifg=#990000 gui=bold
-
-hi PreProc guifg=#999999 gui=bold
- hi Include guifg=#999999 gui=bold
- hi Define guifg=#000000 gui=bold
- hi Macro guifg=#999999 gui=bold
- hi PreCondit guifg=#999999 gui=bold
-
-hi Type guifg=#445588 gui=bold
- hi StorageClass guifg=#000000 gui=bold
- hi Structure guifg=#000000 gui=bold
- hi Typedef guifg=#000000 gui=bold
-
-hi Special guifg=#dd1144
- hi SpecialChar guifg=#dd1144
- hi Tag guifg=#000080
- hi Delimiter guifg=#dd1144
- hi SpecialComment guifg=#999999 gui=bold,italic
- hi Debug guifg=#aa0000
-
-hi Underlined gui=underline
+set t_Co=256
+
+
+hi Comment guifg=#999988 ctermfg=102 gui=italic
+
+hi Constant guifg=#008080 ctermfg=30
+ hi String guifg=#dd1144 ctermfg=161
+ hi Character guifg=#dd1144 ctermfg=161
+ hi Number guifg=#009999 ctermfg=30
+ hi Boolean gui=bold cterm=bold
+ hi Float guifg=#009999 ctermfg=30
+ hi RubySymbol guifg=#990073 ctermfg=90
+
+hi Identifier guifg=#008080 ctermfg=30
+ hi Function guifg=#990000 ctermfg=88 gui=bold cterm=bold
+
+hi Statement guifg=#000000 ctermfg=16 gui=bold cterm=bold
+ hi Conditional guifg=#000000 ctermfg=16 gui=bold cterm=bold
+ hi Repeat guifg=#000000 ctermfg=16 gui=bold cterm=bold
+ hi Label guifg=#000000 ctermfg=16 gui=bold cterm=bold
+ hi Operator guifg=#000000 ctermfg=16 gui=bold cterm=bold
+ hi Keyword guifg=#000000 ctermfg=16 gui=bold cterm=bold
+ hi Exception guifg=#990000 ctermfg=88 gui=bold cterm=bold
+
+hi PreProc guifg=#999999 ctermfg=102 gui=bold cterm=bold
+ hi Include guifg=#999999 ctermfg=102 gui=bold cterm=bold
+ hi Define guifg=#000000 ctermfg=16 gui=bold cterm=bold
+ hi Macro guifg=#999999 ctermfg=102 gui=bold cterm=bold
+ hi PreCondit guifg=#999999 ctermfg=102 gui=bold cterm=bold
+
+hi Type guifg=#445588 ctermfg=60 gui=bold cterm=bold
+ hi StorageClass guifg=#000000 ctermfg=16 gui=bold cterm=bold
+ hi Structure guifg=#000000 ctermfg=16 gui=bold cterm=bold
+ hi Typedef guifg=#000000 ctermfg=16 gui=bold cterm=bold
+
+hi Special guifg=#dd1144 ctermfg=161
+ hi SpecialChar guifg=#dd1144 ctermfg=161
+ hi Tag guifg=#000080 ctermfg=18
+ hi Delimiter guifg=#dd1144 ctermfg=161
+ hi SpecialComment guifg=#999999 ctermfg=102 gui=bold,italic cterm=bold,italic
+ hi Debug guifg=#aa0000 ctermfg=124
+
+hi Underlined gui=underline cterm=underline
hi Ignore guifg=bg
-hi Error guifg=#a61717 guibg=#e3d2d2
-
-hi Todo guifg=#999988 gui=italic
-
-
-hi Cursor guifg=NONE guibg=#ffff33
-hi CursorLine guifg=NONE guibg=#ffffcc
-hi Directory guifg=#4183c4
-hi DiffAdd guifg=#000000 guibg=#ddffdd
-hi DiffDelete guifg=#000000 guibg=#ffdddd
-hi DiffText guibg=#666666
-hi ErrorMsg guifg=#a61717 guibg=#e3d2d2 gui=bold
-hi VertSplit guifg=#666666 guibg=#eaeaea
-hi LineNr guifg=#666666 guibg=#eaeaea
-hi ModeMsg gui=bold
-hi Normal guifg=#000000 guibg=#f8f8ff
-hi Pmenu guibg=#babdb6 guifg=#555753
-hi StatusLine guifg=#666666 guibg=#eaeaea
-hi Visual guifg=NONE guibg=#ffffcc
+hi Error guifg=#a61717 ctermfg=124 guibg=#e3d2d2 ctermbg=188
+
+hi Todo guifg=#999988 ctermfg=102 gui=italic cterm=italic
+
+
+hi Cursor guifg=NONE ctermfg=NONE guibg=#ffff33 ctermbg=227
+hi CursorLine guifg=NONE ctermfg=NONE guibg=#ffffcc ctermbg=230
+hi Directory guifg=#4183c4 ctermfg=68
+hi DiffAdd guifg=#000000 ctermfg=16 guibg=#ddffdd ctermbg=194
+hi DiffDelete guifg=#000000 ctermfg=16 guibg=#ffdddd ctermbg=224
+hi DiffText guibg=#666666 ctermbg=59
+hi ErrorMsg guifg=#a61717 ctermfg=124 guibg=#e3d2d2 ctermbg=188 gui=bold cterm=bold
+hi VertSplit guifg=#666666 ctermfg=59 guibg=#eaeaea ctermbg=188
+hi LineNr guifg=#666666 ctermfg=59 guibg=#eaeaea ctermbg=188
+hi ModeMsg gui=bold cterm=bold
+hi Normal guifg=#000000 ctermfg=16 guibg=#f8f8ff ctermbg=231
+hi Pmenu guibg=#babdb6 ctermbg=145 guifg=#555753 ctermfg=59
+hi StatusLine guifg=#666666 ctermfg=59 guibg=#eaeaea ctermbg=188
+hi Visual guifg=NONE ctermfg=NONE guibg=#ffffcc ctermbg=230

0 comments on commit 61ca8e9

Please sign in to comment.