mirror of
https://github.com/GeorgeSG/dotfiles.git
synced 2026-09-08 18:18:44 +00:00
Switch to dotbot
This commit is contained in:
@@ -0,0 +1,130 @@
|
||||
" Vim color file
|
||||
" Converted from Textmate theme Monokai Refined using Coloration v0.3.2 (http://github.com/sickill/coloration)
|
||||
|
||||
set background=dark
|
||||
highlight clear
|
||||
|
||||
if exists("syntax_on")
|
||||
syntax reset
|
||||
endif
|
||||
|
||||
let g:colors_name = "Monokai-Refined"
|
||||
|
||||
hi Cursor ctermfg=234 ctermbg=231 cterm=NONE guifg=#212121 guibg=#f8f8f0 gui=NONE
|
||||
hi Visual ctermfg=NONE ctermbg=238 cterm=NONE guifg=NONE guibg=#444444 gui=NONE
|
||||
hi CursorLine ctermfg=NONE ctermbg=59 cterm=NONE guifg=NONE guibg=#373736 gui=NONE
|
||||
hi CursorColumn ctermfg=NONE ctermbg=59 cterm=NONE guifg=NONE guibg=#373736 gui=NONE
|
||||
hi ColorColumn ctermfg=NONE ctermbg=59 cterm=NONE guifg=NONE guibg=#373736 gui=NONE
|
||||
hi LineNr ctermfg=245 ctermbg=59 cterm=NONE guifg=#8d8d8a guibg=#373736 gui=NONE
|
||||
hi VertSplit ctermfg=59 ctermbg=59 cterm=NONE guifg=#5f5f5e guibg=#5f5f5e gui=NONE
|
||||
hi MatchParen ctermfg=197 ctermbg=238 cterm=bold guifg=#f92672 guibg=#444444 gui=bold
|
||||
hi StatusLine ctermfg=231 ctermbg=59 cterm=bold guifg=#f8f8f2 guibg=#5f5f5e gui=bold
|
||||
hi StatusLineNC ctermfg=231 ctermbg=59 cterm=NONE guifg=#f8f8f2 guibg=#5f5f5e gui=NONE
|
||||
hi Pmenu ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
|
||||
hi PmenuSel ctermfg=NONE ctermbg=238 cterm=NONE guifg=NONE guibg=#444444 gui=NONE
|
||||
hi IncSearch ctermfg=NONE ctermbg=53 cterm=NONE guifg=NONE guibg=#68233c gui=NONE
|
||||
hi Search ctermfg=NONE ctermbg=53 cterm=NONE guifg=NONE guibg=#68233c gui=NONE
|
||||
hi Directory ctermfg=141 ctermbg=NONE cterm=NONE guifg=#ae81ff guibg=NONE gui=NONE
|
||||
hi Folded ctermfg=95 ctermbg=234 cterm=NONE guifg=#75715e guibg=#212121 gui=NONE
|
||||
|
||||
hi Normal ctermfg=231 ctermbg=234 cterm=NONE guifg=#f8f8f2 guibg=#212121 gui=NONE
|
||||
hi Boolean ctermfg=141 ctermbg=NONE cterm=NONE guifg=#ae81ff guibg=NONE gui=NONE
|
||||
hi Character ctermfg=141 ctermbg=NONE cterm=NONE guifg=#ae81ff guibg=NONE gui=NONE
|
||||
hi Comment ctermfg=95 ctermbg=NONE cterm=NONE guifg=#75715e guibg=NONE gui=italic
|
||||
hi Conditional ctermfg=197 ctermbg=NONE cterm=bold guifg=#f92672 guibg=NONE gui=bold
|
||||
hi Constant ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
|
||||
hi Define ctermfg=197 ctermbg=NONE cterm=bold guifg=#f92672 guibg=NONE gui=bold
|
||||
hi DiffAdd ctermfg=231 ctermbg=64 cterm=bold guifg=#f8f8f2 guibg=#45820b gui=bold
|
||||
hi DiffDelete ctermfg=88 ctermbg=NONE cterm=NONE guifg=#8a0707 guibg=NONE gui=NONE
|
||||
hi DiffChange ctermfg=231 ctermbg=23 cterm=NONE guifg=#f8f8f2 guibg=#213654 gui=NONE
|
||||
hi DiffText ctermfg=231 ctermbg=24 cterm=bold guifg=#f8f8f2 guibg=#204a87 gui=bold
|
||||
hi ErrorMsg ctermfg=231 ctermbg=197 cterm=bold guifg=#f8f8f0 guibg=#f92672 gui=bold
|
||||
hi WarningMsg ctermfg=231 ctermbg=197 cterm=bold guifg=#f8f8f0 guibg=#f92672 gui=bold
|
||||
hi Float ctermfg=141 ctermbg=NONE cterm=NONE guifg=#ae81ff guibg=NONE gui=NONE
|
||||
hi Function ctermfg=148 ctermbg=NONE cterm=NONE guifg=#a6e22e guibg=NONE gui=NONE
|
||||
hi Identifier ctermfg=81 ctermbg=NONE cterm=NONE guifg=#66d9ef guibg=NONE gui=italic
|
||||
hi Keyword ctermfg=197 ctermbg=NONE cterm=bold guifg=#f92672 guibg=NONE gui=bold
|
||||
hi Label ctermfg=186 ctermbg=NONE cterm=NONE guifg=#e6db74 guibg=NONE gui=NONE
|
||||
hi NonText ctermfg=59 ctermbg=235 cterm=NONE guifg=#3b3a32 guibg=#2c2c2b gui=NONE
|
||||
hi Number ctermfg=141 ctermbg=NONE cterm=NONE guifg=#ae81ff guibg=NONE gui=NONE
|
||||
hi Operator ctermfg=197 ctermbg=NONE cterm=bold guifg=#f92672 guibg=NONE gui=bold
|
||||
hi PreProc ctermfg=197 ctermbg=NONE cterm=bold guifg=#f92672 guibg=NONE gui=bold
|
||||
hi Special ctermfg=231 ctermbg=NONE cterm=NONE guifg=#f8f8f2 guibg=NONE gui=NONE
|
||||
hi SpecialKey ctermfg=59 ctermbg=59 cterm=NONE guifg=#3b3a32 guibg=#373736 gui=NONE
|
||||
hi Statement ctermfg=197 ctermbg=NONE cterm=bold guifg=#f92672 guibg=NONE gui=bold
|
||||
hi StorageClass ctermfg=81 ctermbg=NONE cterm=NONE guifg=#66d9ef guibg=NONE gui=italic
|
||||
hi String ctermfg=186 ctermbg=NONE cterm=NONE guifg=#e6db74 guibg=NONE gui=NONE
|
||||
hi Tag ctermfg=197 ctermbg=NONE cterm=bold guifg=#f92672 guibg=NONE gui=bold
|
||||
hi Title ctermfg=231 ctermbg=NONE cterm=bold guifg=#f8f8f2 guibg=NONE gui=bold
|
||||
hi Todo ctermfg=95 ctermbg=NONE cterm=inverse,bold guifg=#75715e guibg=NONE gui=inverse,bold,italic
|
||||
hi Type ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
|
||||
hi Underlined ctermfg=NONE ctermbg=NONE cterm=underline guifg=NONE guibg=NONE gui=underline
|
||||
hi rubyClass ctermfg=197 ctermbg=NONE cterm=bold guifg=#f92672 guibg=NONE gui=bold
|
||||
hi rubyFunction ctermfg=148 ctermbg=NONE cterm=NONE guifg=#a6e22e guibg=NONE gui=NONE
|
||||
hi rubyInterpolationDelimiter ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
|
||||
hi rubySymbol ctermfg=141 ctermbg=NONE cterm=NONE guifg=#ae81ff guibg=NONE gui=NONE
|
||||
hi rubyConstant ctermfg=81 ctermbg=NONE cterm=NONE guifg=#66d9ef guibg=NONE gui=italic
|
||||
hi rubyStringDelimiter ctermfg=186 ctermbg=NONE cterm=NONE guifg=#e6db74 guibg=NONE gui=NONE
|
||||
hi rubyBlockParameter ctermfg=208 ctermbg=NONE cterm=NONE guifg=#fd971f guibg=NONE gui=italic
|
||||
hi rubyInstanceVariable ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
|
||||
hi rubyInclude ctermfg=197 ctermbg=NONE cterm=bold guifg=#f92672 guibg=NONE gui=bold
|
||||
hi rubyGlobalVariable ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
|
||||
hi rubyRegexp ctermfg=186 ctermbg=NONE cterm=NONE guifg=#e6db74 guibg=NONE gui=NONE
|
||||
hi rubyRegexpDelimiter ctermfg=186 ctermbg=NONE cterm=NONE guifg=#e6db74 guibg=NONE gui=NONE
|
||||
hi rubyEscape ctermfg=141 ctermbg=NONE cterm=NONE guifg=#ae81ff guibg=NONE gui=NONE
|
||||
hi rubyControl ctermfg=197 ctermbg=NONE cterm=bold guifg=#f92672 guibg=NONE gui=bold
|
||||
hi rubyClassVariable ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
|
||||
hi rubyOperator ctermfg=197 ctermbg=NONE cterm=bold guifg=#f92672 guibg=NONE gui=bold
|
||||
hi rubyException ctermfg=197 ctermbg=NONE cterm=bold guifg=#f92672 guibg=NONE gui=bold
|
||||
hi rubyPseudoVariable ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
|
||||
hi rubyRailsUserClass ctermfg=81 ctermbg=NONE cterm=NONE guifg=#66d9ef guibg=NONE gui=italic
|
||||
hi rubyRailsARAssociationMethod ctermfg=81 ctermbg=NONE cterm=NONE guifg=#66d9ef guibg=NONE gui=NONE
|
||||
hi rubyRailsARMethod ctermfg=81 ctermbg=NONE cterm=NONE guifg=#66d9ef guibg=NONE gui=NONE
|
||||
hi rubyRailsRenderMethod ctermfg=81 ctermbg=NONE cterm=NONE guifg=#66d9ef guibg=NONE gui=NONE
|
||||
hi rubyRailsMethod ctermfg=81 ctermbg=NONE cterm=NONE guifg=#66d9ef guibg=NONE gui=NONE
|
||||
hi erubyDelimiter ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
|
||||
hi erubyComment ctermfg=95 ctermbg=NONE cterm=NONE guifg=#75715e guibg=NONE gui=italic
|
||||
hi erubyRailsMethod ctermfg=81 ctermbg=NONE cterm=NONE guifg=#66d9ef guibg=NONE gui=NONE
|
||||
hi htmlTag ctermfg=148 ctermbg=NONE cterm=NONE guifg=#a6e22e guibg=NONE gui=NONE
|
||||
hi htmlEndTag ctermfg=81 ctermbg=NONE cterm=NONE guifg=#66d9ef guibg=NONE gui=NONE
|
||||
hi htmlTagName ctermfg=197 ctermbg=NONE cterm=bold guifg=#f92672 guibg=NONE gui=bold
|
||||
hi htmlArg ctermfg=148 ctermbg=NONE cterm=NONE guifg=#a6e22e guibg=NONE gui=NONE
|
||||
hi htmlSpecialChar ctermfg=141 ctermbg=NONE cterm=NONE guifg=#ae81ff guibg=NONE gui=NONE
|
||||
hi javaScriptFunction ctermfg=81 ctermbg=NONE cterm=NONE guifg=#66d9ef guibg=NONE gui=italic
|
||||
hi javaScriptFuncName ctermfg=81 ctermbg=NONE cterm=NONE guifg=#66d9ef guibg=NONE gui=italic
|
||||
hi javaScriptRailsFunction ctermfg=81 ctermbg=NONE cterm=NONE guifg=#66d9ef guibg=NONE gui=NONE
|
||||
hi javaScriptBraces ctermfg=148 ctermbg=NONE cterm=NONE guifg=#a6e22e guibg=NONE gui=NONE
|
||||
hi javaScriptValue ctermfg=141 ctermbg=NONE cterm=NONE guifg=#ae81ff guibg=NONE gui=NONE
|
||||
hi yamlKey ctermfg=197 ctermbg=NONE cterm=bold guifg=#f92672 guibg=NONE gui=bold
|
||||
hi yamlAnchor ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
|
||||
hi yamlAlias ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
|
||||
hi yamlDocumentHeader ctermfg=186 ctermbg=NONE cterm=NONE guifg=#e6db74 guibg=NONE gui=NONE
|
||||
hi cssURL ctermfg=208 ctermbg=NONE cterm=NONE guifg=#fd971f guibg=NONE gui=italic
|
||||
hi cssImportant ctermfg=208 ctermbg=NONE cterm=NONE guifg=#fd971f guibg=NONE gui=italic
|
||||
hi cssFunctionName ctermfg=81 ctermbg=NONE cterm=NONE guifg=#66d9ef guibg=NONE gui=NONE
|
||||
hi cssColor ctermfg=141 ctermbg=NONE cterm=NONE guifg=#ae81ff guibg=NONE gui=NONE
|
||||
hi cssPseudoClassId ctermfg=148 ctermbg=NONE cterm=NONE guifg=#a6e22e guibg=NONE gui=NONE
|
||||
hi cssClassName ctermfg=148 ctermbg=NONE cterm=NONE guifg=#a6e22e guibg=NONE gui=NONE
|
||||
hi cssValueLength ctermfg=141 ctermbg=NONE cterm=NONE guifg=#ae81ff guibg=NONE gui=NONE
|
||||
hi cssDefinition ctermfg=81 ctermbg=NONE cterm=NONE guifg=#66d9ef guibg=NONE gui=NONE
|
||||
hi cssCommonAttr ctermfg=81 ctermbg=NONE cterm=NONE guifg=#66d9ef guibg=NONE gui=NONE
|
||||
hi cssUIAttr ctermfg=81 ctermbg=NONE cterm=NONE guifg=#66d9ef guibg=NONE gui=NONE
|
||||
hi cssFontAttr ctermfg=81 ctermbg=NONE cterm=NONE guifg=#66d9ef guibg=NONE gui=NONE
|
||||
hi cssTextAttr ctermfg=81 ctermbg=NONE cterm=NONE guifg=#66d9ef guibg=NONE gui=NONE
|
||||
hi cssBoxAttr ctermfg=81 ctermbg=NONE cterm=NONE guifg=#66d9ef guibg=NONE gui=NONE
|
||||
hi cssTableAttr ctermfg=81 ctermbg=NONE cterm=NONE guifg=#66d9ef guibg=NONE gui=NONE
|
||||
hi cssRenderAttr ctermfg=81 ctermbg=NONE cterm=NONE guifg=#66d9ef guibg=NONE gui=NONE
|
||||
hi cssColorAttr ctermfg=81 ctermbg=NONE cterm=NONE guifg=#66d9ef guibg=NONE gui=NONE
|
||||
hi cssBraces ctermfg=148 ctermbg=NONE cterm=NONE guifg=#a6e22e guibg=NONE gui=NONE
|
||||
hi cssPseudoClass ctermfg=148 ctermbg=NONE cterm=NONE guifg=#a6e22e guibg=NONE gui=NONE
|
||||
hi cssAttributeSelector ctermfg=148 ctermbg=NONE cterm=NONE guifg=#a6e22e guibg=NONE gui=NONE
|
||||
hi cssValueLength ctermfg=141 ctermbg=NONE cterm=NONE guifg=#ae81ff guibg=NONE gui=NONE
|
||||
hi scssIdChar ctermfg=148 ctermbg=NONE cterm=NONE guifg=#a6e22e guibg=NONE gui=NONE
|
||||
hi scssClassChar ctermfg=148 ctermbg=NONE cterm=NONE guifg=#a6e22e guibg=NONE gui=NONE
|
||||
hi scssId ctermfg=148 ctermbg=NONE cterm=NONE guifg=#a6e22e guibg=NONE gui=NONE
|
||||
hi scssClass ctermfg=148 ctermbg=NONE cterm=NONE guifg=#a6e22e guibg=NONE gui=NONE
|
||||
hi scssAmpersand ctermfg=197 ctermbg=NONE cterm=bold guifg=#f92672 guibg=NONE gui=bold
|
||||
hi scssNestedProperty ctermfg=81 ctermbg=NONE cterm=NONE guifg=#66d9ef guibg=NONE gui=italic
|
||||
hi scssVariable ctermfg=208 ctermbg=NONE cterm=NONE guifg=#fd971f guibg=NONE gui=italic
|
||||
hi scssVariableValue ctermfg=141 ctermbg=NONE cterm=NONE guifg=#ae81ff guibg=NONE gui=italic
|
||||
hi scssColor ctermfg=81 ctermbg=NONE cterm=NONE guifg=#66d9ef guibg=NONE gui=NONE
|
||||
@@ -0,0 +1,107 @@
|
||||
" Vim color file
|
||||
" Converted from Textmate theme Monokai using Coloration v0.3.2 (http://github.com/sickill/coloration)
|
||||
|
||||
set background=dark
|
||||
highlight clear
|
||||
|
||||
if exists("syntax_on")
|
||||
syntax reset
|
||||
endif
|
||||
|
||||
let g:colors_name = "Monokai"
|
||||
|
||||
hi Cursor ctermfg=235 ctermbg=231 cterm=NONE guifg=#272822 guibg=#f8f8f0 gui=NONE
|
||||
hi Visual ctermfg=NONE ctermbg=59 cterm=NONE guifg=NONE guibg=#49483e gui=NONE
|
||||
hi CursorLine ctermfg=NONE ctermbg=237 cterm=NONE guifg=NONE guibg=#3c3d37 gui=NONE
|
||||
hi CursorColumn ctermfg=NONE ctermbg=237 cterm=NONE guifg=NONE guibg=#3c3d37 gui=NONE
|
||||
hi ColorColumn ctermfg=NONE ctermbg=237 cterm=NONE guifg=NONE guibg=#3c3d37 gui=NONE
|
||||
hi LineNr ctermfg=102 ctermbg=237 cterm=NONE guifg=#90908a guibg=#3c3d37 gui=NONE
|
||||
hi VertSplit ctermfg=241 ctermbg=241 cterm=NONE guifg=#64645e guibg=#64645e gui=NONE
|
||||
hi MatchParen ctermfg=197 ctermbg=NONE cterm=underline guifg=#f92672 guibg=NONE gui=underline
|
||||
hi StatusLine ctermfg=231 ctermbg=241 cterm=bold guifg=#f8f8f2 guibg=#64645e gui=bold
|
||||
hi StatusLineNC ctermfg=231 ctermbg=241 cterm=NONE guifg=#f8f8f2 guibg=#64645e gui=NONE
|
||||
hi Pmenu ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
|
||||
hi PmenuSel ctermfg=NONE ctermbg=59 cterm=NONE guifg=NONE guibg=#49483e gui=NONE
|
||||
hi IncSearch ctermfg=235 ctermbg=186 cterm=NONE guifg=#272822 guibg=#e6db74 gui=NONE
|
||||
hi Search ctermfg=NONE ctermbg=NONE cterm=underline guifg=NONE guibg=NONE gui=underline
|
||||
hi Directory ctermfg=141 ctermbg=NONE cterm=NONE guifg=#ae81ff guibg=NONE gui=NONE
|
||||
hi Folded ctermfg=242 ctermbg=235 cterm=NONE guifg=#75715e guibg=#272822 gui=NONE
|
||||
|
||||
hi Normal ctermfg=231 ctermbg=235 cterm=NONE guifg=#f8f8f2 guibg=#272822 gui=NONE
|
||||
hi Boolean ctermfg=141 ctermbg=NONE cterm=NONE guifg=#ae81ff guibg=NONE gui=NONE
|
||||
hi Character ctermfg=141 ctermbg=NONE cterm=NONE guifg=#ae81ff guibg=NONE gui=NONE
|
||||
hi Comment ctermfg=242 ctermbg=NONE cterm=NONE guifg=#75715e guibg=NONE gui=NONE
|
||||
hi Conditional ctermfg=197 ctermbg=NONE cterm=NONE guifg=#f92672 guibg=NONE gui=NONE
|
||||
hi Constant ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
|
||||
hi Define ctermfg=197 ctermbg=NONE cterm=NONE guifg=#f92672 guibg=NONE gui=NONE
|
||||
hi DiffAdd ctermfg=231 ctermbg=64 cterm=bold guifg=#f8f8f2 guibg=#46830c gui=bold
|
||||
hi DiffDelete ctermfg=88 ctermbg=NONE cterm=NONE guifg=#8b0807 guibg=NONE gui=NONE
|
||||
hi DiffChange ctermfg=231 ctermbg=23 cterm=NONE guifg=#f8f8f2 guibg=#243955 gui=NONE
|
||||
hi DiffText ctermfg=231 ctermbg=24 cterm=bold guifg=#f8f8f2 guibg=#204a87 gui=bold
|
||||
hi ErrorMsg ctermfg=231 ctermbg=197 cterm=NONE guifg=#f8f8f0 guibg=#f92672 gui=NONE
|
||||
hi WarningMsg ctermfg=231 ctermbg=197 cterm=NONE guifg=#f8f8f0 guibg=#f92672 gui=NONE
|
||||
hi Float ctermfg=141 ctermbg=NONE cterm=NONE guifg=#ae81ff guibg=NONE gui=NONE
|
||||
hi Function ctermfg=148 ctermbg=NONE cterm=NONE guifg=#a6e22e guibg=NONE gui=NONE
|
||||
hi Identifier ctermfg=81 ctermbg=NONE cterm=NONE guifg=#66d9ef guibg=NONE gui=italic
|
||||
hi Keyword ctermfg=197 ctermbg=NONE cterm=NONE guifg=#f92672 guibg=NONE gui=NONE
|
||||
hi Label ctermfg=186 ctermbg=NONE cterm=NONE guifg=#e6db74 guibg=NONE gui=NONE
|
||||
hi NonText ctermfg=59 ctermbg=236 cterm=NONE guifg=#49483e guibg=#31322c gui=NONE
|
||||
hi Number ctermfg=141 ctermbg=NONE cterm=NONE guifg=#ae81ff guibg=NONE gui=NONE
|
||||
hi Operator ctermfg=197 ctermbg=NONE cterm=NONE guifg=#f92672 guibg=NONE gui=NONE
|
||||
hi PreProc ctermfg=197 ctermbg=NONE cterm=NONE guifg=#f92672 guibg=NONE gui=NONE
|
||||
hi Special ctermfg=231 ctermbg=NONE cterm=NONE guifg=#f8f8f2 guibg=NONE gui=NONE
|
||||
hi SpecialKey ctermfg=59 ctermbg=237 cterm=NONE guifg=#49483e guibg=#3c3d37 gui=NONE
|
||||
hi Statement ctermfg=197 ctermbg=NONE cterm=NONE guifg=#f92672 guibg=NONE gui=NONE
|
||||
hi StorageClass ctermfg=81 ctermbg=NONE cterm=NONE guifg=#66d9ef guibg=NONE gui=italic
|
||||
hi String ctermfg=186 ctermbg=NONE cterm=NONE guifg=#e6db74 guibg=NONE gui=NONE
|
||||
hi Tag ctermfg=197 ctermbg=NONE cterm=NONE guifg=#f92672 guibg=NONE gui=NONE
|
||||
hi Title ctermfg=231 ctermbg=NONE cterm=bold guifg=#f8f8f2 guibg=NONE gui=bold
|
||||
hi Todo ctermfg=95 ctermbg=NONE cterm=inverse,bold guifg=#75715e guibg=NONE gui=inverse,bold
|
||||
hi Type ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
|
||||
hi Underlined ctermfg=NONE ctermbg=NONE cterm=underline guifg=NONE guibg=NONE gui=underline
|
||||
hi rubyClass ctermfg=197 ctermbg=NONE cterm=NONE guifg=#f92672 guibg=NONE gui=NONE
|
||||
hi rubyFunction ctermfg=148 ctermbg=NONE cterm=NONE guifg=#a6e22e guibg=NONE gui=NONE
|
||||
hi rubyInterpolationDelimiter ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
|
||||
hi rubySymbol ctermfg=141 ctermbg=NONE cterm=NONE guifg=#ae81ff guibg=NONE gui=NONE
|
||||
hi rubyConstant ctermfg=81 ctermbg=NONE cterm=NONE guifg=#66d9ef guibg=NONE gui=italic
|
||||
hi rubyStringDelimiter ctermfg=186 ctermbg=NONE cterm=NONE guifg=#e6db74 guibg=NONE gui=NONE
|
||||
hi rubyBlockParameter ctermfg=208 ctermbg=NONE cterm=NONE guifg=#fd971f guibg=NONE gui=italic
|
||||
hi rubyInstanceVariable ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
|
||||
hi rubyInclude ctermfg=197 ctermbg=NONE cterm=NONE guifg=#f92672 guibg=NONE gui=NONE
|
||||
hi rubyGlobalVariable ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
|
||||
hi rubyRegexp ctermfg=186 ctermbg=NONE cterm=NONE guifg=#e6db74 guibg=NONE gui=NONE
|
||||
hi rubyRegexpDelimiter ctermfg=186 ctermbg=NONE cterm=NONE guifg=#e6db74 guibg=NONE gui=NONE
|
||||
hi rubyEscape ctermfg=141 ctermbg=NONE cterm=NONE guifg=#ae81ff guibg=NONE gui=NONE
|
||||
hi rubyControl ctermfg=197 ctermbg=NONE cterm=NONE guifg=#f92672 guibg=NONE gui=NONE
|
||||
hi rubyClassVariable ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
|
||||
hi rubyOperator ctermfg=197 ctermbg=NONE cterm=NONE guifg=#f92672 guibg=NONE gui=NONE
|
||||
hi rubyException ctermfg=197 ctermbg=NONE cterm=NONE guifg=#f92672 guibg=NONE gui=NONE
|
||||
hi rubyPseudoVariable ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
|
||||
hi rubyRailsUserClass ctermfg=81 ctermbg=NONE cterm=NONE guifg=#66d9ef guibg=NONE gui=italic
|
||||
hi rubyRailsARAssociationMethod ctermfg=81 ctermbg=NONE cterm=NONE guifg=#66d9ef guibg=NONE gui=NONE
|
||||
hi rubyRailsARMethod ctermfg=81 ctermbg=NONE cterm=NONE guifg=#66d9ef guibg=NONE gui=NONE
|
||||
hi rubyRailsRenderMethod ctermfg=81 ctermbg=NONE cterm=NONE guifg=#66d9ef guibg=NONE gui=NONE
|
||||
hi rubyRailsMethod ctermfg=81 ctermbg=NONE cterm=NONE guifg=#66d9ef guibg=NONE gui=NONE
|
||||
hi erubyDelimiter ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
|
||||
hi erubyComment ctermfg=95 ctermbg=NONE cterm=NONE guifg=#75715e guibg=NONE gui=NONE
|
||||
hi erubyRailsMethod ctermfg=81 ctermbg=NONE cterm=NONE guifg=#66d9ef guibg=NONE gui=NONE
|
||||
hi htmlTag ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
|
||||
hi htmlEndTag ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
|
||||
hi htmlTagName ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
|
||||
hi htmlArg ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
|
||||
hi htmlSpecialChar ctermfg=141 ctermbg=NONE cterm=NONE guifg=#ae81ff guibg=NONE gui=NONE
|
||||
hi javaScriptFunction ctermfg=81 ctermbg=NONE cterm=NONE guifg=#66d9ef guibg=NONE gui=italic
|
||||
hi javaScriptRailsFunction ctermfg=81 ctermbg=NONE cterm=NONE guifg=#66d9ef guibg=NONE gui=NONE
|
||||
hi javaScriptBraces ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
|
||||
hi yamlKey ctermfg=197 ctermbg=NONE cterm=NONE guifg=#f92672 guibg=NONE gui=NONE
|
||||
hi yamlAnchor ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
|
||||
hi yamlAlias ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
|
||||
hi yamlDocumentHeader ctermfg=186 ctermbg=NONE cterm=NONE guifg=#e6db74 guibg=NONE gui=NONE
|
||||
hi cssURL ctermfg=208 ctermbg=NONE cterm=NONE guifg=#fd971f guibg=NONE gui=italic
|
||||
hi cssFunctionName ctermfg=81 ctermbg=NONE cterm=NONE guifg=#66d9ef guibg=NONE gui=NONE
|
||||
hi cssColor ctermfg=141 ctermbg=NONE cterm=NONE guifg=#ae81ff guibg=NONE gui=NONE
|
||||
hi cssPseudoClassId ctermfg=148 ctermbg=NONE cterm=NONE guifg=#a6e22e guibg=NONE gui=NONE
|
||||
hi cssClassName ctermfg=148 ctermbg=NONE cterm=NONE guifg=#a6e22e guibg=NONE gui=NONE
|
||||
hi cssValueLength ctermfg=141 ctermbg=NONE cterm=NONE guifg=#ae81ff guibg=NONE gui=NONE
|
||||
hi cssCommonAttr ctermfg=81 ctermbg=NONE cterm=NONE guifg=#66d9ef guibg=NONE gui=NONE
|
||||
hi cssBraces ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
|
||||
@@ -0,0 +1,55 @@
|
||||
" Maintainer: Henrique C. Alves (hcarvalhoalves@gmail.com)
|
||||
" Version: 1.0
|
||||
" Last Change: September 25 2008
|
||||
|
||||
set background=dark
|
||||
|
||||
hi clear
|
||||
|
||||
if exists("syntax_on")
|
||||
syntax reset
|
||||
endif
|
||||
|
||||
let colors_name = "mustang"
|
||||
|
||||
" Vim >= 7.0 specific colors
|
||||
if version >= 700
|
||||
hi CursorLine guibg=#2d2d2d ctermbg=236
|
||||
hi CursorColumn guibg=#2d2d2d ctermbg=236
|
||||
hi MatchParen guifg=#d0ffc0 guibg=#2f2f2f gui=bold ctermfg=157 ctermbg=237 cterm=bold
|
||||
hi Pmenu guifg=#ffffff guibg=#444444 ctermfg=255 ctermbg=238
|
||||
hi PmenuSel guifg=#000000 guibg=#b1d631 ctermfg=0 ctermbg=148
|
||||
endif
|
||||
|
||||
" General colors
|
||||
hi Cursor guifg=NONE guibg=#626262 gui=none ctermbg=241
|
||||
hi Normal guifg=#e2e2e5 guibg=#202020 gui=none ctermfg=253 ctermbg=234
|
||||
hi NonText guifg=#808080 guibg=#303030 gui=none ctermfg=244 ctermbg=235
|
||||
hi LineNr guifg=#808080 guibg=#000000 gui=none ctermfg=244 ctermbg=232
|
||||
hi StatusLine guifg=#d3d3d5 guibg=#444444 gui=italic ctermfg=253 ctermbg=238 cterm=italic
|
||||
hi StatusLineNC guifg=#939395 guibg=#444444 gui=none ctermfg=246 ctermbg=238
|
||||
hi VertSplit guifg=#444444 guibg=#444444 gui=none ctermfg=238 ctermbg=238
|
||||
hi Folded guibg=#384048 guifg=#a0a8b0 gui=none ctermbg=4 ctermfg=248
|
||||
hi Title guifg=#f6f3e8 guibg=NONE gui=bold ctermfg=254 cterm=bold
|
||||
hi Visual guifg=#faf4c6 guibg=#3c414c gui=none ctermfg=254 ctermbg=4
|
||||
hi SpecialKey guifg=#808080 guibg=#343434 gui=none ctermfg=244 ctermbg=236
|
||||
|
||||
" Syntax highlighting
|
||||
hi Comment guifg=#808080 gui=italic ctermfg=244
|
||||
hi Todo guifg=#8f8f8f gui=italic ctermfg=245
|
||||
hi Boolean guifg=#b1d631 gui=none ctermfg=148
|
||||
hi String guifg=#b1d631 gui=italic ctermfg=148
|
||||
hi Identifier guifg=#b1d631 gui=none ctermfg=148
|
||||
hi Function guifg=#ffffff gui=bold ctermfg=255
|
||||
hi Type guifg=#7e8aa2 gui=none ctermfg=103
|
||||
hi Statement guifg=#7e8aa2 gui=none ctermfg=103
|
||||
hi Keyword guifg=#ff9800 gui=none ctermfg=208
|
||||
hi Constant guifg=#ff9800 gui=none ctermfg=208
|
||||
hi Number guifg=#ff9800 gui=none ctermfg=208
|
||||
hi Special guifg=#ff9800 gui=none ctermfg=208
|
||||
hi PreProc guifg=#faf4c6 gui=none ctermfg=230
|
||||
hi Todo guifg=#000000 guibg=#e6ea50 gui=italic
|
||||
|
||||
" Code-specific colors
|
||||
hi pythonOperator guifg=#7e8aa2 gui=none ctermfg=103
|
||||
|
||||
@@ -0,0 +1,349 @@
|
||||
" Tomorrow Night Blue - Full Colour and 256 Colour
|
||||
" http://chriskempson.com
|
||||
"
|
||||
" Hex colour conversion functions borrowed from the theme "Desert256""
|
||||
|
||||
" Default GUI Colours
|
||||
let s:foreground = "ffffff"
|
||||
let s:background = "002451"
|
||||
let s:selection = "003f8e"
|
||||
let s:line = "00346e"
|
||||
let s:comment = "7285b7"
|
||||
let s:red = "ff9da4"
|
||||
let s:orange = "ffc58f"
|
||||
let s:yellow = "ffeead"
|
||||
let s:green = "d1f1a9"
|
||||
let s:aqua = "99ffff"
|
||||
let s:blue = "bbdaff"
|
||||
let s:purple = "ebbbff"
|
||||
let s:window = "4d5057"
|
||||
|
||||
set background=dark
|
||||
hi clear
|
||||
syntax reset
|
||||
|
||||
let g:colors_name = "Tomorrow-Night-Blue"
|
||||
|
||||
if has("gui_running") || &t_Co == 88 || &t_Co == 256
|
||||
" Returns an approximate grey index for the given grey level
|
||||
fun <SID>grey_number(x)
|
||||
if &t_Co == 88
|
||||
if a:x < 23
|
||||
return 0
|
||||
elseif a:x < 69
|
||||
return 1
|
||||
elseif a:x < 103
|
||||
return 2
|
||||
elseif a:x < 127
|
||||
return 3
|
||||
elseif a:x < 150
|
||||
return 4
|
||||
elseif a:x < 173
|
||||
return 5
|
||||
elseif a:x < 196
|
||||
return 6
|
||||
elseif a:x < 219
|
||||
return 7
|
||||
elseif a:x < 243
|
||||
return 8
|
||||
else
|
||||
return 9
|
||||
endif
|
||||
else
|
||||
if a:x < 14
|
||||
return 0
|
||||
else
|
||||
let l:n = (a:x - 8) / 10
|
||||
let l:m = (a:x - 8) % 10
|
||||
if l:m < 5
|
||||
return l:n
|
||||
else
|
||||
return l:n + 1
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
endfun
|
||||
|
||||
" Returns the actual grey level represented by the grey index
|
||||
fun <SID>grey_level(n)
|
||||
if &t_Co == 88
|
||||
if a:n == 0
|
||||
return 0
|
||||
elseif a:n == 1
|
||||
return 46
|
||||
elseif a:n == 2
|
||||
return 92
|
||||
elseif a:n == 3
|
||||
return 115
|
||||
elseif a:n == 4
|
||||
return 139
|
||||
elseif a:n == 5
|
||||
return 162
|
||||
elseif a:n == 6
|
||||
return 185
|
||||
elseif a:n == 7
|
||||
return 208
|
||||
elseif a:n == 8
|
||||
return 231
|
||||
else
|
||||
return 255
|
||||
endif
|
||||
else
|
||||
if a:n == 0
|
||||
return 0
|
||||
else
|
||||
return 8 + (a:n * 10)
|
||||
endif
|
||||
endif
|
||||
endfun
|
||||
|
||||
" Returns the palette index for the given grey index
|
||||
fun <SID>grey_colour(n)
|
||||
if &t_Co == 88
|
||||
if a:n == 0
|
||||
return 16
|
||||
elseif a:n == 9
|
||||
return 79
|
||||
else
|
||||
return 79 + a:n
|
||||
endif
|
||||
else
|
||||
if a:n == 0
|
||||
return 16
|
||||
elseif a:n == 25
|
||||
return 231
|
||||
else
|
||||
return 231 + a:n
|
||||
endif
|
||||
endif
|
||||
endfun
|
||||
|
||||
" Returns an approximate colour index for the given colour level
|
||||
fun <SID>rgb_number(x)
|
||||
if &t_Co == 88
|
||||
if a:x < 69
|
||||
return 0
|
||||
elseif a:x < 172
|
||||
return 1
|
||||
elseif a:x < 230
|
||||
return 2
|
||||
else
|
||||
return 3
|
||||
endif
|
||||
else
|
||||
if a:x < 75
|
||||
return 0
|
||||
else
|
||||
let l:n = (a:x - 55) / 40
|
||||
let l:m = (a:x - 55) % 40
|
||||
if l:m < 20
|
||||
return l:n
|
||||
else
|
||||
return l:n + 1
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
endfun
|
||||
|
||||
" Returns the actual colour level for the given colour index
|
||||
fun <SID>rgb_level(n)
|
||||
if &t_Co == 88
|
||||
if a:n == 0
|
||||
return 0
|
||||
elseif a:n == 1
|
||||
return 139
|
||||
elseif a:n == 2
|
||||
return 205
|
||||
else
|
||||
return 255
|
||||
endif
|
||||
else
|
||||
if a:n == 0
|
||||
return 0
|
||||
else
|
||||
return 55 + (a:n * 40)
|
||||
endif
|
||||
endif
|
||||
endfun
|
||||
|
||||
" Returns the palette index for the given R/G/B colour indices
|
||||
fun <SID>rgb_colour(x, y, z)
|
||||
if &t_Co == 88
|
||||
return 16 + (a:x * 16) + (a:y * 4) + a:z
|
||||
else
|
||||
return 16 + (a:x * 36) + (a:y * 6) + a:z
|
||||
endif
|
||||
endfun
|
||||
|
||||
" Returns the palette index to approximate the given R/G/B colour levels
|
||||
fun <SID>colour(r, g, b)
|
||||
" Get the closest grey
|
||||
let l:gx = <SID>grey_number(a:r)
|
||||
let l:gy = <SID>grey_number(a:g)
|
||||
let l:gz = <SID>grey_number(a:b)
|
||||
|
||||
" Get the closest colour
|
||||
let l:x = <SID>rgb_number(a:r)
|
||||
let l:y = <SID>rgb_number(a:g)
|
||||
let l:z = <SID>rgb_number(a:b)
|
||||
|
||||
if l:gx == l:gy && l:gy == l:gz
|
||||
" There are two possibilities
|
||||
let l:dgr = <SID>grey_level(l:gx) - a:r
|
||||
let l:dgg = <SID>grey_level(l:gy) - a:g
|
||||
let l:dgb = <SID>grey_level(l:gz) - a:b
|
||||
let l:dgrey = (l:dgr * l:dgr) + (l:dgg * l:dgg) + (l:dgb * l:dgb)
|
||||
let l:dr = <SID>rgb_level(l:gx) - a:r
|
||||
let l:dg = <SID>rgb_level(l:gy) - a:g
|
||||
let l:db = <SID>rgb_level(l:gz) - a:b
|
||||
let l:drgb = (l:dr * l:dr) + (l:dg * l:dg) + (l:db * l:db)
|
||||
if l:dgrey < l:drgb
|
||||
" Use the grey
|
||||
return <SID>grey_colour(l:gx)
|
||||
else
|
||||
" Use the colour
|
||||
return <SID>rgb_colour(l:x, l:y, l:z)
|
||||
endif
|
||||
else
|
||||
" Only one possibility
|
||||
return <SID>rgb_colour(l:x, l:y, l:z)
|
||||
endif
|
||||
endfun
|
||||
|
||||
" Returns the palette index to approximate the 'rrggbb' hex string
|
||||
fun <SID>rgb(rgb)
|
||||
let l:r = ("0x" . strpart(a:rgb, 0, 2)) + 0
|
||||
let l:g = ("0x" . strpart(a:rgb, 2, 2)) + 0
|
||||
let l:b = ("0x" . strpart(a:rgb, 4, 2)) + 0
|
||||
|
||||
return <SID>colour(l:r, l:g, l:b)
|
||||
endfun
|
||||
|
||||
" Sets the highlighting for the given group
|
||||
fun <SID>X(group, fg, bg, attr)
|
||||
if a:fg != ""
|
||||
exec "hi " . a:group . " guifg=#" . a:fg . " ctermfg=" . <SID>rgb(a:fg)
|
||||
endif
|
||||
if a:bg != ""
|
||||
exec "hi " . a:group . " guibg=#" . a:bg . " ctermbg=" . <SID>rgb(a:bg)
|
||||
endif
|
||||
if a:attr != ""
|
||||
exec "hi " . a:group . " gui=" . a:attr . " cterm=" . a:attr
|
||||
endif
|
||||
endfun
|
||||
|
||||
" Vim Highlighting
|
||||
call <SID>X("Normal", s:foreground, s:background, "")
|
||||
call <SID>X("LineNr", s:selection, "", "")
|
||||
call <SID>X("NonText", s:selection, "", "")
|
||||
call <SID>X("SpecialKey", s:selection, "", "")
|
||||
call <SID>X("Search", s:background, s:yellow, "")
|
||||
call <SID>X("TabLine", s:foreground, s:background, "reverse")
|
||||
call <SID>X("StatusLine", s:window, s:yellow, "reverse")
|
||||
call <SID>X("StatusLineNC", s:window, s:foreground, "reverse")
|
||||
call <SID>X("VertSplit", s:window, s:window, "none")
|
||||
call <SID>X("Visual", "", s:selection, "")
|
||||
call <SID>X("Directory", s:blue, "", "")
|
||||
call <SID>X("ModeMsg", s:green, "", "")
|
||||
call <SID>X("MoreMsg", s:green, "", "")
|
||||
call <SID>X("Question", s:green, "", "")
|
||||
call <SID>X("WarningMsg", s:red, "", "")
|
||||
call <SID>X("MatchParen", "", s:selection, "")
|
||||
call <SID>X("Folded", s:comment, s:background, "")
|
||||
call <SID>X("FoldColumn", "", s:background, "")
|
||||
if version >= 700
|
||||
call <SID>X("CursorLine", "", s:line, "none")
|
||||
call <SID>X("CursorColumn", "", s:line, "none")
|
||||
call <SID>X("PMenu", s:foreground, s:selection, "none")
|
||||
call <SID>X("PMenuSel", s:foreground, s:selection, "reverse")
|
||||
end
|
||||
if version >= 703
|
||||
call <SID>X("ColorColumn", "", s:line, "none")
|
||||
end
|
||||
|
||||
" Standard Highlighting
|
||||
call <SID>X("Comment", s:comment, "", "")
|
||||
call <SID>X("Todo", s:comment, s:background, "")
|
||||
call <SID>X("Title", s:comment, "", "")
|
||||
call <SID>X("Identifier", s:red, "", "none")
|
||||
call <SID>X("Statement", s:foreground, "", "")
|
||||
call <SID>X("Conditional", s:foreground, "", "")
|
||||
call <SID>X("Repeat", s:foreground, "", "")
|
||||
call <SID>X("Structure", s:purple, "", "")
|
||||
call <SID>X("Function", s:blue, "", "")
|
||||
call <SID>X("Constant", s:orange, "", "")
|
||||
call <SID>X("String", s:green, "", "")
|
||||
call <SID>X("Special", s:foreground, "", "")
|
||||
call <SID>X("PreProc", s:purple, "", "")
|
||||
call <SID>X("Operator", s:aqua, "", "none")
|
||||
call <SID>X("Type", s:blue, "", "none")
|
||||
call <SID>X("Define", s:purple, "", "none")
|
||||
call <SID>X("Include", s:blue, "", "")
|
||||
"call <SID>X("Ignore", "666666", "", "")
|
||||
|
||||
" Vim Highlighting
|
||||
call <SID>X("vimCommand", s:red, "", "none")
|
||||
|
||||
" C Highlighting
|
||||
call <SID>X("cType", s:yellow, "", "")
|
||||
call <SID>X("cStorageClass", s:purple, "", "")
|
||||
call <SID>X("cConditional", s:purple, "", "")
|
||||
call <SID>X("cRepeat", s:purple, "", "")
|
||||
|
||||
" PHP Highlighting
|
||||
call <SID>X("phpVarSelector", s:red, "", "")
|
||||
call <SID>X("phpKeyword", s:purple, "", "")
|
||||
call <SID>X("phpRepeat", s:purple, "", "")
|
||||
call <SID>X("phpConditional", s:purple, "", "")
|
||||
call <SID>X("phpStatement", s:purple, "", "")
|
||||
call <SID>X("phpMemberSelector", s:foreground, "", "")
|
||||
|
||||
" Ruby Highlighting
|
||||
call <SID>X("rubySymbol", s:green, "", "")
|
||||
call <SID>X("rubyConstant", s:yellow, "", "")
|
||||
call <SID>X("rubyAttribute", s:blue, "", "")
|
||||
call <SID>X("rubyInclude", s:blue, "", "")
|
||||
call <SID>X("rubyLocalVariableOrMethod", s:orange, "", "")
|
||||
call <SID>X("rubyCurlyBlock", s:orange, "", "")
|
||||
call <SID>X("rubyStringDelimiter", s:green, "", "")
|
||||
call <SID>X("rubyInterpolationDelimiter", s:orange, "", "")
|
||||
call <SID>X("rubyConditional", s:purple, "", "")
|
||||
call <SID>X("rubyRepeat", s:purple, "", "")
|
||||
|
||||
" Python Highlighting
|
||||
call <SID>X("pythonInclude", s:purple, "", "")
|
||||
call <SID>X("pythonStatement", s:purple, "", "")
|
||||
call <SID>X("pythonConditional", s:purple, "", "")
|
||||
call <SID>X("pythonRepeat", s:purple, "", "")
|
||||
call <SID>X("pythonException", s:purple, "", "")
|
||||
call <SID>X("pythonFunction", s:blue, "", "")
|
||||
|
||||
" JavaScript Highlighting
|
||||
call <SID>X("javaScriptBraces", s:foreground, "", "")
|
||||
call <SID>X("javaScriptFunction", s:purple, "", "")
|
||||
call <SID>X("javaScriptConditional", s:purple, "", "")
|
||||
call <SID>X("javaScriptRepeat", s:purple, "", "")
|
||||
call <SID>X("javaScriptNumber", s:orange, "", "")
|
||||
call <SID>X("javaScriptMember", s:orange, "", "")
|
||||
|
||||
" HTML Highlighting
|
||||
call <SID>X("htmlTag", s:red, "", "")
|
||||
call <SID>X("htmlTagName", s:red, "", "")
|
||||
call <SID>X("htmlArg", s:red, "", "")
|
||||
call <SID>X("htmlScriptTag", s:red, "", "")
|
||||
|
||||
" Diff Highlighting
|
||||
call <SID>X("diffAdded", s:green, "", "")
|
||||
call <SID>X("diffRemoved", s:red, "", "")
|
||||
|
||||
" Delete Functions
|
||||
delf <SID>X
|
||||
delf <SID>rgb
|
||||
delf <SID>colour
|
||||
delf <SID>rgb_colour
|
||||
delf <SID>rgb_level
|
||||
delf <SID>rgb_number
|
||||
delf <SID>grey_colour
|
||||
delf <SID>grey_level
|
||||
delf <SID>grey_number
|
||||
endif
|
||||
@@ -0,0 +1,349 @@
|
||||
" Tomorrow Night Bright - Full Colour and 256 Colour
|
||||
" http://chriskempson.com
|
||||
"
|
||||
" Hex colour conversion functions borrowed from the theme "Desert256""
|
||||
|
||||
" Default GUI Colours
|
||||
let s:foreground = "eaeaea"
|
||||
let s:background = "000000"
|
||||
let s:selection = "424242"
|
||||
let s:line = "2a2a2a"
|
||||
let s:comment = "969896"
|
||||
let s:red = "d54e53"
|
||||
let s:orange = "e78c45"
|
||||
let s:yellow = "e7c547"
|
||||
let s:green = "b9ca4a"
|
||||
let s:aqua = "70c0b1"
|
||||
let s:blue = "7aa6da"
|
||||
let s:purple = "c397d8"
|
||||
let s:window = "4d5057"
|
||||
|
||||
set background=dark
|
||||
hi clear
|
||||
syntax reset
|
||||
|
||||
let g:colors_name = "Tomorrow-Night-Bright"
|
||||
|
||||
if has("gui_running") || &t_Co == 88 || &t_Co == 256
|
||||
" Returns an approximate grey index for the given grey level
|
||||
fun <SID>grey_number(x)
|
||||
if &t_Co == 88
|
||||
if a:x < 23
|
||||
return 0
|
||||
elseif a:x < 69
|
||||
return 1
|
||||
elseif a:x < 103
|
||||
return 2
|
||||
elseif a:x < 127
|
||||
return 3
|
||||
elseif a:x < 150
|
||||
return 4
|
||||
elseif a:x < 173
|
||||
return 5
|
||||
elseif a:x < 196
|
||||
return 6
|
||||
elseif a:x < 219
|
||||
return 7
|
||||
elseif a:x < 243
|
||||
return 8
|
||||
else
|
||||
return 9
|
||||
endif
|
||||
else
|
||||
if a:x < 14
|
||||
return 0
|
||||
else
|
||||
let l:n = (a:x - 8) / 10
|
||||
let l:m = (a:x - 8) % 10
|
||||
if l:m < 5
|
||||
return l:n
|
||||
else
|
||||
return l:n + 1
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
endfun
|
||||
|
||||
" Returns the actual grey level represented by the grey index
|
||||
fun <SID>grey_level(n)
|
||||
if &t_Co == 88
|
||||
if a:n == 0
|
||||
return 0
|
||||
elseif a:n == 1
|
||||
return 46
|
||||
elseif a:n == 2
|
||||
return 92
|
||||
elseif a:n == 3
|
||||
return 115
|
||||
elseif a:n == 4
|
||||
return 139
|
||||
elseif a:n == 5
|
||||
return 162
|
||||
elseif a:n == 6
|
||||
return 185
|
||||
elseif a:n == 7
|
||||
return 208
|
||||
elseif a:n == 8
|
||||
return 231
|
||||
else
|
||||
return 255
|
||||
endif
|
||||
else
|
||||
if a:n == 0
|
||||
return 0
|
||||
else
|
||||
return 8 + (a:n * 10)
|
||||
endif
|
||||
endif
|
||||
endfun
|
||||
|
||||
" Returns the palette index for the given grey index
|
||||
fun <SID>grey_colour(n)
|
||||
if &t_Co == 88
|
||||
if a:n == 0
|
||||
return 16
|
||||
elseif a:n == 9
|
||||
return 79
|
||||
else
|
||||
return 79 + a:n
|
||||
endif
|
||||
else
|
||||
if a:n == 0
|
||||
return 16
|
||||
elseif a:n == 25
|
||||
return 231
|
||||
else
|
||||
return 231 + a:n
|
||||
endif
|
||||
endif
|
||||
endfun
|
||||
|
||||
" Returns an approximate colour index for the given colour level
|
||||
fun <SID>rgb_number(x)
|
||||
if &t_Co == 88
|
||||
if a:x < 69
|
||||
return 0
|
||||
elseif a:x < 172
|
||||
return 1
|
||||
elseif a:x < 230
|
||||
return 2
|
||||
else
|
||||
return 3
|
||||
endif
|
||||
else
|
||||
if a:x < 75
|
||||
return 0
|
||||
else
|
||||
let l:n = (a:x - 55) / 40
|
||||
let l:m = (a:x - 55) % 40
|
||||
if l:m < 20
|
||||
return l:n
|
||||
else
|
||||
return l:n + 1
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
endfun
|
||||
|
||||
" Returns the actual colour level for the given colour index
|
||||
fun <SID>rgb_level(n)
|
||||
if &t_Co == 88
|
||||
if a:n == 0
|
||||
return 0
|
||||
elseif a:n == 1
|
||||
return 139
|
||||
elseif a:n == 2
|
||||
return 205
|
||||
else
|
||||
return 255
|
||||
endif
|
||||
else
|
||||
if a:n == 0
|
||||
return 0
|
||||
else
|
||||
return 55 + (a:n * 40)
|
||||
endif
|
||||
endif
|
||||
endfun
|
||||
|
||||
" Returns the palette index for the given R/G/B colour indices
|
||||
fun <SID>rgb_colour(x, y, z)
|
||||
if &t_Co == 88
|
||||
return 16 + (a:x * 16) + (a:y * 4) + a:z
|
||||
else
|
||||
return 16 + (a:x * 36) + (a:y * 6) + a:z
|
||||
endif
|
||||
endfun
|
||||
|
||||
" Returns the palette index to approximate the given R/G/B colour levels
|
||||
fun <SID>colour(r, g, b)
|
||||
" Get the closest grey
|
||||
let l:gx = <SID>grey_number(a:r)
|
||||
let l:gy = <SID>grey_number(a:g)
|
||||
let l:gz = <SID>grey_number(a:b)
|
||||
|
||||
" Get the closest colour
|
||||
let l:x = <SID>rgb_number(a:r)
|
||||
let l:y = <SID>rgb_number(a:g)
|
||||
let l:z = <SID>rgb_number(a:b)
|
||||
|
||||
if l:gx == l:gy && l:gy == l:gz
|
||||
" There are two possibilities
|
||||
let l:dgr = <SID>grey_level(l:gx) - a:r
|
||||
let l:dgg = <SID>grey_level(l:gy) - a:g
|
||||
let l:dgb = <SID>grey_level(l:gz) - a:b
|
||||
let l:dgrey = (l:dgr * l:dgr) + (l:dgg * l:dgg) + (l:dgb * l:dgb)
|
||||
let l:dr = <SID>rgb_level(l:gx) - a:r
|
||||
let l:dg = <SID>rgb_level(l:gy) - a:g
|
||||
let l:db = <SID>rgb_level(l:gz) - a:b
|
||||
let l:drgb = (l:dr * l:dr) + (l:dg * l:dg) + (l:db * l:db)
|
||||
if l:dgrey < l:drgb
|
||||
" Use the grey
|
||||
return <SID>grey_colour(l:gx)
|
||||
else
|
||||
" Use the colour
|
||||
return <SID>rgb_colour(l:x, l:y, l:z)
|
||||
endif
|
||||
else
|
||||
" Only one possibility
|
||||
return <SID>rgb_colour(l:x, l:y, l:z)
|
||||
endif
|
||||
endfun
|
||||
|
||||
" Returns the palette index to approximate the 'rrggbb' hex string
|
||||
fun <SID>rgb(rgb)
|
||||
let l:r = ("0x" . strpart(a:rgb, 0, 2)) + 0
|
||||
let l:g = ("0x" . strpart(a:rgb, 2, 2)) + 0
|
||||
let l:b = ("0x" . strpart(a:rgb, 4, 2)) + 0
|
||||
|
||||
return <SID>colour(l:r, l:g, l:b)
|
||||
endfun
|
||||
|
||||
" Sets the highlighting for the given group
|
||||
fun <SID>X(group, fg, bg, attr)
|
||||
if a:fg != ""
|
||||
exec "hi " . a:group . " guifg=#" . a:fg . " ctermfg=" . <SID>rgb(a:fg)
|
||||
endif
|
||||
if a:bg != ""
|
||||
exec "hi " . a:group . " guibg=#" . a:bg . " ctermbg=" . <SID>rgb(a:bg)
|
||||
endif
|
||||
if a:attr != ""
|
||||
exec "hi " . a:group . " gui=" . a:attr . " cterm=" . a:attr
|
||||
endif
|
||||
endfun
|
||||
|
||||
" Vim Highlighting
|
||||
call <SID>X("Normal", s:foreground, s:background, "")
|
||||
call <SID>X("LineNr", s:selection, "", "")
|
||||
call <SID>X("NonText", s:selection, "", "")
|
||||
call <SID>X("SpecialKey", s:selection, "", "")
|
||||
call <SID>X("Search", s:background, s:yellow, "")
|
||||
call <SID>X("TabLine", s:foreground, s:background, "reverse")
|
||||
call <SID>X("StatusLine", s:window, s:yellow, "reverse")
|
||||
call <SID>X("StatusLineNC", s:window, s:foreground, "reverse")
|
||||
call <SID>X("VertSplit", s:window, s:window, "none")
|
||||
call <SID>X("Visual", "", s:selection, "")
|
||||
call <SID>X("Directory", s:blue, "", "")
|
||||
call <SID>X("ModeMsg", s:green, "", "")
|
||||
call <SID>X("MoreMsg", s:green, "", "")
|
||||
call <SID>X("Question", s:green, "", "")
|
||||
call <SID>X("WarningMsg", s:red, "", "")
|
||||
call <SID>X("MatchParen", "", s:selection, "")
|
||||
call <SID>X("Folded", s:comment, s:background, "")
|
||||
call <SID>X("FoldColumn", "", s:background, "")
|
||||
if version >= 700
|
||||
call <SID>X("CursorLine", "", s:line, "none")
|
||||
call <SID>X("CursorColumn", "", s:line, "none")
|
||||
call <SID>X("PMenu", s:foreground, s:selection, "none")
|
||||
call <SID>X("PMenuSel", s:foreground, s:selection, "reverse")
|
||||
end
|
||||
if version >= 703
|
||||
call <SID>X("ColorColumn", "", s:line, "none")
|
||||
end
|
||||
|
||||
" Standard Highlighting
|
||||
call <SID>X("Comment", s:comment, "", "")
|
||||
call <SID>X("Todo", s:comment, s:background, "")
|
||||
call <SID>X("Title", s:comment, "", "")
|
||||
call <SID>X("Identifier", s:red, "", "none")
|
||||
call <SID>X("Statement", s:foreground, "", "")
|
||||
call <SID>X("Conditional", s:foreground, "", "")
|
||||
call <SID>X("Repeat", s:foreground, "", "")
|
||||
call <SID>X("Structure", s:purple, "", "")
|
||||
call <SID>X("Function", s:blue, "", "")
|
||||
call <SID>X("Constant", s:orange, "", "")
|
||||
call <SID>X("String", s:green, "", "")
|
||||
call <SID>X("Special", s:foreground, "", "")
|
||||
call <SID>X("PreProc", s:purple, "", "")
|
||||
call <SID>X("Operator", s:aqua, "", "none")
|
||||
call <SID>X("Type", s:blue, "", "none")
|
||||
call <SID>X("Define", s:purple, "", "none")
|
||||
call <SID>X("Include", s:blue, "", "")
|
||||
"call <SID>X("Ignore", "666666", "", "")
|
||||
|
||||
" Vim Highlighting
|
||||
call <SID>X("vimCommand", s:red, "", "none")
|
||||
|
||||
" C Highlighting
|
||||
call <SID>X("cType", s:yellow, "", "")
|
||||
call <SID>X("cStorageClass", s:purple, "", "")
|
||||
call <SID>X("cConditional", s:purple, "", "")
|
||||
call <SID>X("cRepeat", s:purple, "", "")
|
||||
|
||||
" PHP Highlighting
|
||||
call <SID>X("phpVarSelector", s:red, "", "")
|
||||
call <SID>X("phpKeyword", s:purple, "", "")
|
||||
call <SID>X("phpRepeat", s:purple, "", "")
|
||||
call <SID>X("phpConditional", s:purple, "", "")
|
||||
call <SID>X("phpStatement", s:purple, "", "")
|
||||
call <SID>X("phpMemberSelector", s:foreground, "", "")
|
||||
|
||||
" Ruby Highlighting
|
||||
call <SID>X("rubySymbol", s:green, "", "")
|
||||
call <SID>X("rubyConstant", s:yellow, "", "")
|
||||
call <SID>X("rubyAttribute", s:blue, "", "")
|
||||
call <SID>X("rubyInclude", s:blue, "", "")
|
||||
call <SID>X("rubyLocalVariableOrMethod", s:orange, "", "")
|
||||
call <SID>X("rubyCurlyBlock", s:orange, "", "")
|
||||
call <SID>X("rubyStringDelimiter", s:green, "", "")
|
||||
call <SID>X("rubyInterpolationDelimiter", s:orange, "", "")
|
||||
call <SID>X("rubyConditional", s:purple, "", "")
|
||||
call <SID>X("rubyRepeat", s:purple, "", "")
|
||||
|
||||
" Python Highlighting
|
||||
call <SID>X("pythonInclude", s:purple, "", "")
|
||||
call <SID>X("pythonStatement", s:purple, "", "")
|
||||
call <SID>X("pythonConditional", s:purple, "", "")
|
||||
call <SID>X("pythonRepeat", s:purple, "", "")
|
||||
call <SID>X("pythonException", s:purple, "", "")
|
||||
call <SID>X("pythonFunction", s:blue, "", "")
|
||||
|
||||
" JavaScript Highlighting
|
||||
call <SID>X("javaScriptBraces", s:foreground, "", "")
|
||||
call <SID>X("javaScriptFunction", s:purple, "", "")
|
||||
call <SID>X("javaScriptConditional", s:purple, "", "")
|
||||
call <SID>X("javaScriptRepeat", s:purple, "", "")
|
||||
call <SID>X("javaScriptNumber", s:orange, "", "")
|
||||
call <SID>X("javaScriptMember", s:orange, "", "")
|
||||
|
||||
" HTML Highlighting
|
||||
call <SID>X("htmlTag", s:red, "", "")
|
||||
call <SID>X("htmlTagName", s:red, "", "")
|
||||
call <SID>X("htmlArg", s:red, "", "")
|
||||
call <SID>X("htmlScriptTag", s:red, "", "")
|
||||
|
||||
" Diff Highlighting
|
||||
call <SID>X("diffAdded", s:green, "", "")
|
||||
call <SID>X("diffRemoved", s:red, "", "")
|
||||
|
||||
" Delete Functions
|
||||
delf <SID>X
|
||||
delf <SID>rgb
|
||||
delf <SID>colour
|
||||
delf <SID>rgb_colour
|
||||
delf <SID>rgb_level
|
||||
delf <SID>rgb_number
|
||||
delf <SID>grey_colour
|
||||
delf <SID>grey_level
|
||||
delf <SID>grey_number
|
||||
endif
|
||||
@@ -0,0 +1,349 @@
|
||||
" Tomorrow Night Eighties - Full Colour and 256 Colour
|
||||
" http://chriskempson.com
|
||||
"
|
||||
" Hex colour conversion functions borrowed from the theme "Desert256""
|
||||
|
||||
" Default GUI Colours
|
||||
let s:foreground = "cccccc"
|
||||
let s:background = "2d2d2d"
|
||||
let s:selection = "515151"
|
||||
let s:line = "393939"
|
||||
let s:comment = "999999"
|
||||
let s:red = "f2777a"
|
||||
let s:orange = "f99157"
|
||||
let s:yellow = "ffcc66"
|
||||
let s:green = "99cc99"
|
||||
let s:aqua = "009999"
|
||||
let s:blue = "99cccc"
|
||||
let s:purple = "cc99cc"
|
||||
let s:window = "4d5057"
|
||||
|
||||
set background=dark
|
||||
hi clear
|
||||
syntax reset
|
||||
|
||||
let g:colors_name = "Tomorrow-Night-Eighties"
|
||||
|
||||
if has("gui_running") || &t_Co == 88 || &t_Co == 256
|
||||
" Returns an approximate grey index for the given grey level
|
||||
fun <SID>grey_number(x)
|
||||
if &t_Co == 88
|
||||
if a:x < 23
|
||||
return 0
|
||||
elseif a:x < 69
|
||||
return 1
|
||||
elseif a:x < 103
|
||||
return 2
|
||||
elseif a:x < 127
|
||||
return 3
|
||||
elseif a:x < 150
|
||||
return 4
|
||||
elseif a:x < 173
|
||||
return 5
|
||||
elseif a:x < 196
|
||||
return 6
|
||||
elseif a:x < 219
|
||||
return 7
|
||||
elseif a:x < 243
|
||||
return 8
|
||||
else
|
||||
return 9
|
||||
endif
|
||||
else
|
||||
if a:x < 14
|
||||
return 0
|
||||
else
|
||||
let l:n = (a:x - 8) / 10
|
||||
let l:m = (a:x - 8) % 10
|
||||
if l:m < 5
|
||||
return l:n
|
||||
else
|
||||
return l:n + 1
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
endfun
|
||||
|
||||
" Returns the actual grey level represented by the grey index
|
||||
fun <SID>grey_level(n)
|
||||
if &t_Co == 88
|
||||
if a:n == 0
|
||||
return 0
|
||||
elseif a:n == 1
|
||||
return 46
|
||||
elseif a:n == 2
|
||||
return 92
|
||||
elseif a:n == 3
|
||||
return 115
|
||||
elseif a:n == 4
|
||||
return 139
|
||||
elseif a:n == 5
|
||||
return 162
|
||||
elseif a:n == 6
|
||||
return 185
|
||||
elseif a:n == 7
|
||||
return 208
|
||||
elseif a:n == 8
|
||||
return 231
|
||||
else
|
||||
return 255
|
||||
endif
|
||||
else
|
||||
if a:n == 0
|
||||
return 0
|
||||
else
|
||||
return 8 + (a:n * 10)
|
||||
endif
|
||||
endif
|
||||
endfun
|
||||
|
||||
" Returns the palette index for the given grey index
|
||||
fun <SID>grey_colour(n)
|
||||
if &t_Co == 88
|
||||
if a:n == 0
|
||||
return 16
|
||||
elseif a:n == 9
|
||||
return 79
|
||||
else
|
||||
return 79 + a:n
|
||||
endif
|
||||
else
|
||||
if a:n == 0
|
||||
return 16
|
||||
elseif a:n == 25
|
||||
return 231
|
||||
else
|
||||
return 231 + a:n
|
||||
endif
|
||||
endif
|
||||
endfun
|
||||
|
||||
" Returns an approximate colour index for the given colour level
|
||||
fun <SID>rgb_number(x)
|
||||
if &t_Co == 88
|
||||
if a:x < 69
|
||||
return 0
|
||||
elseif a:x < 172
|
||||
return 1
|
||||
elseif a:x < 230
|
||||
return 2
|
||||
else
|
||||
return 3
|
||||
endif
|
||||
else
|
||||
if a:x < 75
|
||||
return 0
|
||||
else
|
||||
let l:n = (a:x - 55) / 40
|
||||
let l:m = (a:x - 55) % 40
|
||||
if l:m < 20
|
||||
return l:n
|
||||
else
|
||||
return l:n + 1
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
endfun
|
||||
|
||||
" Returns the actual colour level for the given colour index
|
||||
fun <SID>rgb_level(n)
|
||||
if &t_Co == 88
|
||||
if a:n == 0
|
||||
return 0
|
||||
elseif a:n == 1
|
||||
return 139
|
||||
elseif a:n == 2
|
||||
return 205
|
||||
else
|
||||
return 255
|
||||
endif
|
||||
else
|
||||
if a:n == 0
|
||||
return 0
|
||||
else
|
||||
return 55 + (a:n * 40)
|
||||
endif
|
||||
endif
|
||||
endfun
|
||||
|
||||
" Returns the palette index for the given R/G/B colour indices
|
||||
fun <SID>rgb_colour(x, y, z)
|
||||
if &t_Co == 88
|
||||
return 16 + (a:x * 16) + (a:y * 4) + a:z
|
||||
else
|
||||
return 16 + (a:x * 36) + (a:y * 6) + a:z
|
||||
endif
|
||||
endfun
|
||||
|
||||
" Returns the palette index to approximate the given R/G/B colour levels
|
||||
fun <SID>colour(r, g, b)
|
||||
" Get the closest grey
|
||||
let l:gx = <SID>grey_number(a:r)
|
||||
let l:gy = <SID>grey_number(a:g)
|
||||
let l:gz = <SID>grey_number(a:b)
|
||||
|
||||
" Get the closest colour
|
||||
let l:x = <SID>rgb_number(a:r)
|
||||
let l:y = <SID>rgb_number(a:g)
|
||||
let l:z = <SID>rgb_number(a:b)
|
||||
|
||||
if l:gx == l:gy && l:gy == l:gz
|
||||
" There are two possibilities
|
||||
let l:dgr = <SID>grey_level(l:gx) - a:r
|
||||
let l:dgg = <SID>grey_level(l:gy) - a:g
|
||||
let l:dgb = <SID>grey_level(l:gz) - a:b
|
||||
let l:dgrey = (l:dgr * l:dgr) + (l:dgg * l:dgg) + (l:dgb * l:dgb)
|
||||
let l:dr = <SID>rgb_level(l:gx) - a:r
|
||||
let l:dg = <SID>rgb_level(l:gy) - a:g
|
||||
let l:db = <SID>rgb_level(l:gz) - a:b
|
||||
let l:drgb = (l:dr * l:dr) + (l:dg * l:dg) + (l:db * l:db)
|
||||
if l:dgrey < l:drgb
|
||||
" Use the grey
|
||||
return <SID>grey_colour(l:gx)
|
||||
else
|
||||
" Use the colour
|
||||
return <SID>rgb_colour(l:x, l:y, l:z)
|
||||
endif
|
||||
else
|
||||
" Only one possibility
|
||||
return <SID>rgb_colour(l:x, l:y, l:z)
|
||||
endif
|
||||
endfun
|
||||
|
||||
" Returns the palette index to approximate the 'rrggbb' hex string
|
||||
fun <SID>rgb(rgb)
|
||||
let l:r = ("0x" . strpart(a:rgb, 0, 2)) + 0
|
||||
let l:g = ("0x" . strpart(a:rgb, 2, 2)) + 0
|
||||
let l:b = ("0x" . strpart(a:rgb, 4, 2)) + 0
|
||||
|
||||
return <SID>colour(l:r, l:g, l:b)
|
||||
endfun
|
||||
|
||||
" Sets the highlighting for the given group
|
||||
fun <SID>X(group, fg, bg, attr)
|
||||
if a:fg != ""
|
||||
exec "hi " . a:group . " guifg=#" . a:fg . " ctermfg=" . <SID>rgb(a:fg)
|
||||
endif
|
||||
if a:bg != ""
|
||||
exec "hi " . a:group . " guibg=#" . a:bg . " ctermbg=" . <SID>rgb(a:bg)
|
||||
endif
|
||||
if a:attr != ""
|
||||
exec "hi " . a:group . " gui=" . a:attr . " cterm=" . a:attr
|
||||
endif
|
||||
endfun
|
||||
|
||||
" Vim Highlighting
|
||||
call <SID>X("Normal", s:foreground, s:background, "")
|
||||
call <SID>X("LineNr", s:selection, "", "")
|
||||
call <SID>X("NonText", s:selection, "", "")
|
||||
call <SID>X("SpecialKey", s:selection, "", "")
|
||||
call <SID>X("Search", s:background, s:yellow, "")
|
||||
call <SID>X("TabLine", s:foreground, s:background, "reverse")
|
||||
call <SID>X("StatusLine", s:window, s:yellow, "reverse")
|
||||
call <SID>X("StatusLineNC", s:window, s:foreground, "reverse")
|
||||
call <SID>X("VertSplit", s:window, s:window, "none")
|
||||
call <SID>X("Visual", "", s:selection, "")
|
||||
call <SID>X("Directory", s:blue, "", "")
|
||||
call <SID>X("ModeMsg", s:green, "", "")
|
||||
call <SID>X("MoreMsg", s:green, "", "")
|
||||
call <SID>X("Question", s:green, "", "")
|
||||
call <SID>X("WarningMsg", s:red, "", "")
|
||||
call <SID>X("MatchParen", "", s:selection, "")
|
||||
call <SID>X("Folded", s:comment, s:background, "")
|
||||
call <SID>X("FoldColumn", "", s:background, "")
|
||||
if version >= 700
|
||||
call <SID>X("CursorLine", "", s:line, "none")
|
||||
call <SID>X("CursorColumn", "", s:line, "none")
|
||||
call <SID>X("PMenu", s:foreground, s:selection, "none")
|
||||
call <SID>X("PMenuSel", s:foreground, s:selection, "reverse")
|
||||
end
|
||||
if version >= 703
|
||||
call <SID>X("ColorColumn", "", s:line, "none")
|
||||
end
|
||||
|
||||
" Standard Highlighting
|
||||
call <SID>X("Comment", s:comment, "", "")
|
||||
call <SID>X("Todo", s:comment, s:background, "")
|
||||
call <SID>X("Title", s:comment, "", "")
|
||||
call <SID>X("Identifier", s:red, "", "none")
|
||||
call <SID>X("Statement", s:foreground, "", "")
|
||||
call <SID>X("Conditional", s:foreground, "", "")
|
||||
call <SID>X("Repeat", s:foreground, "", "")
|
||||
call <SID>X("Structure", s:purple, "", "")
|
||||
call <SID>X("Function", s:blue, "", "")
|
||||
call <SID>X("Constant", s:orange, "", "")
|
||||
call <SID>X("String", s:green, "", "")
|
||||
call <SID>X("Special", s:foreground, "", "")
|
||||
call <SID>X("PreProc", s:purple, "", "")
|
||||
call <SID>X("Operator", s:aqua, "", "none")
|
||||
call <SID>X("Type", s:blue, "", "none")
|
||||
call <SID>X("Define", s:purple, "", "none")
|
||||
call <SID>X("Include", s:blue, "", "")
|
||||
"call <SID>X("Ignore", "666666", "", "")
|
||||
|
||||
" Vim Highlighting
|
||||
call <SID>X("vimCommand", s:red, "", "none")
|
||||
|
||||
" C Highlighting
|
||||
call <SID>X("cType", s:yellow, "", "")
|
||||
call <SID>X("cStorageClass", s:purple, "", "")
|
||||
call <SID>X("cConditional", s:purple, "", "")
|
||||
call <SID>X("cRepeat", s:purple, "", "")
|
||||
|
||||
" PHP Highlighting
|
||||
call <SID>X("phpVarSelector", s:red, "", "")
|
||||
call <SID>X("phpKeyword", s:purple, "", "")
|
||||
call <SID>X("phpRepeat", s:purple, "", "")
|
||||
call <SID>X("phpConditional", s:purple, "", "")
|
||||
call <SID>X("phpStatement", s:purple, "", "")
|
||||
call <SID>X("phpMemberSelector", s:foreground, "", "")
|
||||
|
||||
" Ruby Highlighting
|
||||
call <SID>X("rubySymbol", s:green, "", "")
|
||||
call <SID>X("rubyConstant", s:yellow, "", "")
|
||||
call <SID>X("rubyAttribute", s:blue, "", "")
|
||||
call <SID>X("rubyInclude", s:blue, "", "")
|
||||
call <SID>X("rubyLocalVariableOrMethod", s:orange, "", "")
|
||||
call <SID>X("rubyCurlyBlock", s:orange, "", "")
|
||||
call <SID>X("rubyStringDelimiter", s:green, "", "")
|
||||
call <SID>X("rubyInterpolationDelimiter", s:orange, "", "")
|
||||
call <SID>X("rubyConditional", s:purple, "", "")
|
||||
call <SID>X("rubyRepeat", s:purple, "", "")
|
||||
|
||||
" Python Highlighting
|
||||
call <SID>X("pythonInclude", s:purple, "", "")
|
||||
call <SID>X("pythonStatement", s:purple, "", "")
|
||||
call <SID>X("pythonConditional", s:purple, "", "")
|
||||
call <SID>X("pythonRepeat", s:purple, "", "")
|
||||
call <SID>X("pythonException", s:purple, "", "")
|
||||
call <SID>X("pythonFunction", s:blue, "", "")
|
||||
|
||||
" JavaScript Highlighting
|
||||
call <SID>X("javaScriptBraces", s:foreground, "", "")
|
||||
call <SID>X("javaScriptFunction", s:purple, "", "")
|
||||
call <SID>X("javaScriptConditional", s:purple, "", "")
|
||||
call <SID>X("javaScriptRepeat", s:purple, "", "")
|
||||
call <SID>X("javaScriptNumber", s:orange, "", "")
|
||||
call <SID>X("javaScriptMember", s:orange, "", "")
|
||||
|
||||
" HTML Highlighting
|
||||
call <SID>X("htmlTag", s:red, "", "")
|
||||
call <SID>X("htmlTagName", s:red, "", "")
|
||||
call <SID>X("htmlArg", s:red, "", "")
|
||||
call <SID>X("htmlScriptTag", s:red, "", "")
|
||||
|
||||
" Diff Highlighting
|
||||
call <SID>X("diffAdded", s:green, "", "")
|
||||
call <SID>X("diffRemoved", s:red, "", "")
|
||||
|
||||
" Delete Functions
|
||||
delf <SID>X
|
||||
delf <SID>rgb
|
||||
delf <SID>colour
|
||||
delf <SID>rgb_colour
|
||||
delf <SID>rgb_level
|
||||
delf <SID>rgb_number
|
||||
delf <SID>grey_colour
|
||||
delf <SID>grey_level
|
||||
delf <SID>grey_number
|
||||
endif
|
||||
@@ -0,0 +1,364 @@
|
||||
" Tomorrow Night - Full Colour and 256 Colour
|
||||
" http://chriskempson.com
|
||||
"
|
||||
" Hex colour conversion functions borrowed from the theme "Desert256""
|
||||
|
||||
" Default GUI Colours
|
||||
let s:foreground = "c5c8c6"
|
||||
let s:background = "1d1f21"
|
||||
let s:selection = "373b41"
|
||||
let s:line = "282a2e"
|
||||
let s:comment = "969896"
|
||||
let s:red = "cc6666"
|
||||
let s:orange = "de935f"
|
||||
let s:yellow = "f0c674"
|
||||
let s:green = "b5bd68"
|
||||
let s:aqua = "8abeb7"
|
||||
let s:blue = "81a2be"
|
||||
let s:purple = "b294bb"
|
||||
let s:window = "4d5057"
|
||||
|
||||
" Console 256 Colours
|
||||
if !has("gui_running")
|
||||
let s:background = "303030"
|
||||
let s:window = "5e5e5e"
|
||||
let s:line = "3a3a3a"
|
||||
let s:selection = "585858"
|
||||
end
|
||||
|
||||
set background=dark
|
||||
hi clear
|
||||
syntax reset
|
||||
|
||||
let g:colors_name = "Tomorrow-Night"
|
||||
|
||||
if has("gui_running") || &t_Co == 88 || &t_Co == 256
|
||||
" Returns an approximate grey index for the given grey level
|
||||
fun <SID>grey_number(x)
|
||||
if &t_Co == 88
|
||||
if a:x < 23
|
||||
return 0
|
||||
elseif a:x < 69
|
||||
return 1
|
||||
elseif a:x < 103
|
||||
return 2
|
||||
elseif a:x < 127
|
||||
return 3
|
||||
elseif a:x < 150
|
||||
return 4
|
||||
elseif a:x < 173
|
||||
return 5
|
||||
elseif a:x < 196
|
||||
return 6
|
||||
elseif a:x < 219
|
||||
return 7
|
||||
elseif a:x < 243
|
||||
return 8
|
||||
else
|
||||
return 9
|
||||
endif
|
||||
else
|
||||
if a:x < 14
|
||||
return 0
|
||||
else
|
||||
let l:n = (a:x - 8) / 10
|
||||
let l:m = (a:x - 8) % 10
|
||||
if l:m < 5
|
||||
return l:n
|
||||
else
|
||||
return l:n + 1
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
endfun
|
||||
|
||||
" Returns the actual grey level represented by the grey index
|
||||
fun <SID>grey_level(n)
|
||||
if &t_Co == 88
|
||||
if a:n == 0
|
||||
return 0
|
||||
elseif a:n == 1
|
||||
return 46
|
||||
elseif a:n == 2
|
||||
return 92
|
||||
elseif a:n == 3
|
||||
return 115
|
||||
elseif a:n == 4
|
||||
return 139
|
||||
elseif a:n == 5
|
||||
return 162
|
||||
elseif a:n == 6
|
||||
return 185
|
||||
elseif a:n == 7
|
||||
return 208
|
||||
elseif a:n == 8
|
||||
return 231
|
||||
else
|
||||
return 255
|
||||
endif
|
||||
else
|
||||
if a:n == 0
|
||||
return 0
|
||||
else
|
||||
return 8 + (a:n * 10)
|
||||
endif
|
||||
endif
|
||||
endfun
|
||||
|
||||
" Returns the palette index for the given grey index
|
||||
fun <SID>grey_colour(n)
|
||||
if &t_Co == 88
|
||||
if a:n == 0
|
||||
return 16
|
||||
elseif a:n == 9
|
||||
return 79
|
||||
else
|
||||
return 79 + a:n
|
||||
endif
|
||||
else
|
||||
if a:n == 0
|
||||
return 16
|
||||
elseif a:n == 25
|
||||
return 231
|
||||
else
|
||||
return 231 + a:n
|
||||
endif
|
||||
endif
|
||||
endfun
|
||||
|
||||
" Returns an approximate colour index for the given colour level
|
||||
fun <SID>rgb_number(x)
|
||||
if &t_Co == 88
|
||||
if a:x < 69
|
||||
return 0
|
||||
elseif a:x < 172
|
||||
return 1
|
||||
elseif a:x < 230
|
||||
return 2
|
||||
else
|
||||
return 3
|
||||
endif
|
||||
else
|
||||
if a:x < 75
|
||||
return 0
|
||||
else
|
||||
let l:n = (a:x - 55) / 40
|
||||
let l:m = (a:x - 55) % 40
|
||||
if l:m < 20
|
||||
return l:n
|
||||
else
|
||||
return l:n + 1
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
endfun
|
||||
|
||||
" Returns the actual colour level for the given colour index
|
||||
fun <SID>rgb_level(n)
|
||||
if &t_Co == 88
|
||||
if a:n == 0
|
||||
return 0
|
||||
elseif a:n == 1
|
||||
return 139
|
||||
elseif a:n == 2
|
||||
return 205
|
||||
else
|
||||
return 255
|
||||
endif
|
||||
else
|
||||
if a:n == 0
|
||||
return 0
|
||||
else
|
||||
return 55 + (a:n * 40)
|
||||
endif
|
||||
endif
|
||||
endfun
|
||||
|
||||
" Returns the palette index for the given R/G/B colour indices
|
||||
fun <SID>rgb_colour(x, y, z)
|
||||
if &t_Co == 88
|
||||
return 16 + (a:x * 16) + (a:y * 4) + a:z
|
||||
else
|
||||
return 16 + (a:x * 36) + (a:y * 6) + a:z
|
||||
endif
|
||||
endfun
|
||||
|
||||
" Returns the palette index to approximate the given R/G/B colour levels
|
||||
fun <SID>colour(r, g, b)
|
||||
" Get the closest grey
|
||||
let l:gx = <SID>grey_number(a:r)
|
||||
let l:gy = <SID>grey_number(a:g)
|
||||
let l:gz = <SID>grey_number(a:b)
|
||||
|
||||
" Get the closest colour
|
||||
let l:x = <SID>rgb_number(a:r)
|
||||
let l:y = <SID>rgb_number(a:g)
|
||||
let l:z = <SID>rgb_number(a:b)
|
||||
|
||||
if l:gx == l:gy && l:gy == l:gz
|
||||
" There are two possibilities
|
||||
let l:dgr = <SID>grey_level(l:gx) - a:r
|
||||
let l:dgg = <SID>grey_level(l:gy) - a:g
|
||||
let l:dgb = <SID>grey_level(l:gz) - a:b
|
||||
let l:dgrey = (l:dgr * l:dgr) + (l:dgg * l:dgg) + (l:dgb * l:dgb)
|
||||
let l:dr = <SID>rgb_level(l:gx) - a:r
|
||||
let l:dg = <SID>rgb_level(l:gy) - a:g
|
||||
let l:db = <SID>rgb_level(l:gz) - a:b
|
||||
let l:drgb = (l:dr * l:dr) + (l:dg * l:dg) + (l:db * l:db)
|
||||
if l:dgrey < l:drgb
|
||||
" Use the grey
|
||||
return <SID>grey_colour(l:gx)
|
||||
else
|
||||
" Use the colour
|
||||
return <SID>rgb_colour(l:x, l:y, l:z)
|
||||
endif
|
||||
else
|
||||
" Only one possibility
|
||||
return <SID>rgb_colour(l:x, l:y, l:z)
|
||||
endif
|
||||
endfun
|
||||
|
||||
" Returns the palette index to approximate the 'rrggbb' hex string
|
||||
fun <SID>rgb(rgb)
|
||||
let l:r = ("0x" . strpart(a:rgb, 0, 2)) + 0
|
||||
let l:g = ("0x" . strpart(a:rgb, 2, 2)) + 0
|
||||
let l:b = ("0x" . strpart(a:rgb, 4, 2)) + 0
|
||||
|
||||
return <SID>colour(l:r, l:g, l:b)
|
||||
endfun
|
||||
|
||||
" Sets the highlighting for the given group
|
||||
fun <SID>X(group, fg, bg, attr)
|
||||
if a:fg != ""
|
||||
exec "hi " . a:group . " guifg=#" . a:fg . " ctermfg=" . <SID>rgb(a:fg)
|
||||
endif
|
||||
if a:bg != ""
|
||||
exec "hi " . a:group . " guibg=#" . a:bg . " ctermbg=" . <SID>rgb(a:bg)
|
||||
endif
|
||||
if a:attr != ""
|
||||
exec "hi " . a:group . " gui=" . a:attr . " cterm=" . a:attr
|
||||
endif
|
||||
endfun
|
||||
|
||||
" Vim Highlighting
|
||||
call <SID>X("Normal", s:foreground, s:background, "")
|
||||
call <SID>X("LineNr", s:selection, "", "")
|
||||
call <SID>X("NonText", s:selection, "", "")
|
||||
call <SID>X("SpecialKey", s:selection, "", "")
|
||||
call <SID>X("Search", s:background, s:yellow, "")
|
||||
call <SID>X("TabLine", s:foreground, s:background, "reverse")
|
||||
call <SID>X("StatusLine", s:window, s:yellow, "reverse")
|
||||
call <SID>X("StatusLineNC", s:window, s:foreground, "reverse")
|
||||
call <SID>X("VertSplit", s:window, s:window, "none")
|
||||
call <SID>X("Visual", "", s:selection, "")
|
||||
call <SID>X("Directory", s:blue, "", "")
|
||||
call <SID>X("ModeMsg", s:green, "", "")
|
||||
call <SID>X("MoreMsg", s:green, "", "")
|
||||
call <SID>X("Question", s:green, "", "")
|
||||
call <SID>X("WarningMsg", s:red, "", "")
|
||||
call <SID>X("MatchParen", "", s:selection, "")
|
||||
call <SID>X("Folded", s:comment, s:background, "")
|
||||
call <SID>X("FoldColumn", "", s:background, "")
|
||||
if version >= 700
|
||||
call <SID>X("CursorLine", "", s:line, "none")
|
||||
call <SID>X("CursorColumn", "", s:line, "none")
|
||||
call <SID>X("PMenu", s:foreground, s:selection, "none")
|
||||
call <SID>X("PMenuSel", s:foreground, s:selection, "reverse")
|
||||
call <SID>X("SignColumn", "", s:background, "none")
|
||||
end
|
||||
if version >= 703
|
||||
call <SID>X("ColorColumn", "", s:line, "none")
|
||||
end
|
||||
|
||||
" Standard Highlighting
|
||||
call <SID>X("Comment", s:comment, "", "")
|
||||
call <SID>X("Todo", s:comment, s:background, "")
|
||||
call <SID>X("Title", s:comment, "", "")
|
||||
call <SID>X("Identifier", s:red, "", "none")
|
||||
call <SID>X("Statement", s:foreground, "", "")
|
||||
call <SID>X("Conditional", s:foreground, "", "")
|
||||
call <SID>X("Repeat", s:foreground, "", "")
|
||||
call <SID>X("Structure", s:purple, "", "")
|
||||
call <SID>X("Function", s:blue, "", "")
|
||||
call <SID>X("Constant", s:orange, "", "")
|
||||
call <SID>X("String", s:green, "", "")
|
||||
call <SID>X("Special", s:foreground, "", "")
|
||||
call <SID>X("PreProc", s:purple, "", "")
|
||||
call <SID>X("Operator", s:aqua, "", "none")
|
||||
call <SID>X("Type", s:blue, "", "none")
|
||||
call <SID>X("Define", s:purple, "", "none")
|
||||
call <SID>X("Include", s:blue, "", "")
|
||||
"call <SID>X("Ignore", "666666", "", "")
|
||||
|
||||
" Vim Highlighting
|
||||
call <SID>X("vimCommand", s:red, "", "none")
|
||||
|
||||
" C Highlighting
|
||||
call <SID>X("cType", s:yellow, "", "")
|
||||
call <SID>X("cStorageClass", s:purple, "", "")
|
||||
call <SID>X("cConditional", s:purple, "", "")
|
||||
call <SID>X("cRepeat", s:purple, "", "")
|
||||
|
||||
" PHP Highlighting
|
||||
call <SID>X("phpVarSelector", s:red, "", "")
|
||||
call <SID>X("phpKeyword", s:purple, "", "")
|
||||
call <SID>X("phpRepeat", s:purple, "", "")
|
||||
call <SID>X("phpConditional", s:purple, "", "")
|
||||
call <SID>X("phpStatement", s:purple, "", "")
|
||||
call <SID>X("phpMemberSelector", s:foreground, "", "")
|
||||
|
||||
" Ruby Highlighting
|
||||
call <SID>X("rubySymbol", s:green, "", "")
|
||||
call <SID>X("rubyConstant", s:yellow, "", "")
|
||||
call <SID>X("rubyAttribute", s:blue, "", "")
|
||||
call <SID>X("rubyInclude", s:blue, "", "")
|
||||
call <SID>X("rubyLocalVariableOrMethod", s:orange, "", "")
|
||||
call <SID>X("rubyCurlyBlock", s:orange, "", "")
|
||||
call <SID>X("rubyStringDelimiter", s:green, "", "")
|
||||
call <SID>X("rubyInterpolationDelimiter", s:orange, "", "")
|
||||
call <SID>X("rubyConditional", s:purple, "", "")
|
||||
call <SID>X("rubyRepeat", s:purple, "", "")
|
||||
|
||||
" Python Highlighting
|
||||
call <SID>X("pythonInclude", s:purple, "", "")
|
||||
call <SID>X("pythonStatement", s:purple, "", "")
|
||||
call <SID>X("pythonConditional", s:purple, "", "")
|
||||
call <SID>X("pythonRepeat", s:purple, "", "")
|
||||
call <SID>X("pythonException", s:purple, "", "")
|
||||
call <SID>X("pythonFunction", s:blue, "", "")
|
||||
|
||||
" JavaScript Highlighting
|
||||
call <SID>X("javaScriptBraces", s:foreground, "", "")
|
||||
call <SID>X("javaScriptFunction", s:purple, "", "")
|
||||
call <SID>X("javaScriptConditional", s:purple, "", "")
|
||||
call <SID>X("javaScriptRepeat", s:purple, "", "")
|
||||
call <SID>X("javaScriptNumber", s:orange, "", "")
|
||||
call <SID>X("javaScriptMember", s:orange, "", "")
|
||||
|
||||
" HTML Highlighting
|
||||
call <SID>X("htmlTag", s:red, "", "")
|
||||
call <SID>X("htmlTagName", s:red, "", "")
|
||||
call <SID>X("htmlArg", s:red, "", "")
|
||||
call <SID>X("htmlScriptTag", s:red, "", "")
|
||||
|
||||
" Diff Highlighting
|
||||
call <SID>X("diffAdded", s:green, "", "")
|
||||
call <SID>X("diffRemoved", s:red, "", "")
|
||||
|
||||
" ShowMarks Highlighting
|
||||
call <SID>X("ShowMarksHLl", s:orange, s:background, "none")
|
||||
call <SID>X("ShowMarksHLo", s:purple, s:background, "none")
|
||||
call <SID>X("ShowMarksHLu", s:yellow, s:background, "none")
|
||||
call <SID>X("ShowMarksHLm", s:aqua, s:background, "none")
|
||||
|
||||
" Delete Functions
|
||||
delf <SID>X
|
||||
delf <SID>rgb
|
||||
delf <SID>colour
|
||||
delf <SID>rgb_colour
|
||||
delf <SID>rgb_level
|
||||
delf <SID>rgb_number
|
||||
delf <SID>grey_colour
|
||||
delf <SID>grey_level
|
||||
delf <SID>grey_number
|
||||
endif
|
||||
@@ -0,0 +1,351 @@
|
||||
" Tomorrow - Full Colour and 256 Colour
|
||||
" http://chriskempson.com
|
||||
"
|
||||
" Hex colour conversion functions borrowed from the theme "Desert256""
|
||||
|
||||
" Default GUI Colours
|
||||
let s:foreground = "4d4d4c"
|
||||
let s:background = "fafafa"
|
||||
let s:selection = "d6d6d6"
|
||||
let s:line = "efefef"
|
||||
let s:comment = "8e908c"
|
||||
let s:red = "c82829"
|
||||
let s:orange = "f5871f"
|
||||
let s:yellow = "eab700"
|
||||
let s:green = "718c00"
|
||||
let s:aqua = "3e999f"
|
||||
let s:blue = "4271ae"
|
||||
let s:purple = "8959a8"
|
||||
let s:window = "efefef"
|
||||
|
||||
set background=light
|
||||
hi clear
|
||||
syntax reset
|
||||
|
||||
let g:colors_name = "Tomorrow"
|
||||
|
||||
if has("gui_running") || &t_Co == 88 || &t_Co == 256
|
||||
" Returns an approximate grey index for the given grey level
|
||||
fun <SID>grey_number(x)
|
||||
if &t_Co == 88
|
||||
if a:x < 23
|
||||
return 0
|
||||
elseif a:x < 69
|
||||
return 1
|
||||
elseif a:x < 103
|
||||
return 2
|
||||
elseif a:x < 127
|
||||
return 3
|
||||
elseif a:x < 150
|
||||
return 4
|
||||
elseif a:x < 173
|
||||
return 5
|
||||
elseif a:x < 196
|
||||
return 6
|
||||
elseif a:x < 219
|
||||
return 7
|
||||
elseif a:x < 243
|
||||
return 8
|
||||
else
|
||||
return 9
|
||||
endif
|
||||
else
|
||||
if a:x < 14
|
||||
return 0
|
||||
else
|
||||
let l:n = (a:x - 8) / 10
|
||||
let l:m = (a:x - 8) % 10
|
||||
if l:m < 5
|
||||
return l:n
|
||||
else
|
||||
return l:n + 1
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
endfun
|
||||
|
||||
" Returns the actual grey level represented by the grey index
|
||||
fun <SID>grey_level(n)
|
||||
if &t_Co == 88
|
||||
if a:n == 0
|
||||
return 0
|
||||
elseif a:n == 1
|
||||
return 46
|
||||
elseif a:n == 2
|
||||
return 92
|
||||
elseif a:n == 3
|
||||
return 115
|
||||
elseif a:n == 4
|
||||
return 139
|
||||
elseif a:n == 5
|
||||
return 162
|
||||
elseif a:n == 6
|
||||
return 185
|
||||
elseif a:n == 7
|
||||
return 208
|
||||
elseif a:n == 8
|
||||
return 231
|
||||
else
|
||||
return 255
|
||||
endif
|
||||
else
|
||||
if a:n == 0
|
||||
return 0
|
||||
else
|
||||
return 8 + (a:n * 10)
|
||||
endif
|
||||
endif
|
||||
endfun
|
||||
|
||||
" Returns the palette index for the given grey index
|
||||
fun <SID>grey_colour(n)
|
||||
if &t_Co == 88
|
||||
if a:n == 0
|
||||
return 16
|
||||
elseif a:n == 9
|
||||
return 79
|
||||
else
|
||||
return 79 + a:n
|
||||
endif
|
||||
else
|
||||
if a:n == 0
|
||||
return 16
|
||||
elseif a:n == 25
|
||||
return 231
|
||||
else
|
||||
return 231 + a:n
|
||||
endif
|
||||
endif
|
||||
endfun
|
||||
|
||||
" Returns an approximate colour index for the given colour level
|
||||
fun <SID>rgb_number(x)
|
||||
if &t_Co == 88
|
||||
if a:x < 69
|
||||
return 0
|
||||
elseif a:x < 172
|
||||
return 1
|
||||
elseif a:x < 230
|
||||
return 2
|
||||
else
|
||||
return 3
|
||||
endif
|
||||
else
|
||||
if a:x < 75
|
||||
return 0
|
||||
else
|
||||
let l:n = (a:x - 55) / 40
|
||||
let l:m = (a:x - 55) % 40
|
||||
if l:m < 20
|
||||
return l:n
|
||||
else
|
||||
return l:n + 1
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
endfun
|
||||
|
||||
" Returns the actual colour level for the given colour index
|
||||
fun <SID>rgb_level(n)
|
||||
if &t_Co == 88
|
||||
if a:n == 0
|
||||
return 0
|
||||
elseif a:n == 1
|
||||
return 139
|
||||
elseif a:n == 2
|
||||
return 205
|
||||
else
|
||||
return 255
|
||||
endif
|
||||
else
|
||||
if a:n == 0
|
||||
return 0
|
||||
else
|
||||
return 55 + (a:n * 40)
|
||||
endif
|
||||
endif
|
||||
endfun
|
||||
|
||||
" Returns the palette index for the given R/G/B colour indices
|
||||
fun <SID>rgb_colour(x, y, z)
|
||||
if &t_Co == 88
|
||||
return 16 + (a:x * 16) + (a:y * 4) + a:z
|
||||
else
|
||||
return 16 + (a:x * 36) + (a:y * 6) + a:z
|
||||
endif
|
||||
endfun
|
||||
|
||||
" Returns the palette index to approximate the given R/G/B colour levels
|
||||
fun <SID>colour(r, g, b)
|
||||
" Get the closest grey
|
||||
let l:gx = <SID>grey_number(a:r)
|
||||
let l:gy = <SID>grey_number(a:g)
|
||||
let l:gz = <SID>grey_number(a:b)
|
||||
|
||||
" Get the closest colour
|
||||
let l:x = <SID>rgb_number(a:r)
|
||||
let l:y = <SID>rgb_number(a:g)
|
||||
let l:z = <SID>rgb_number(a:b)
|
||||
|
||||
if l:gx == l:gy && l:gy == l:gz
|
||||
" There are two possibilities
|
||||
let l:dgr = <SID>grey_level(l:gx) - a:r
|
||||
let l:dgg = <SID>grey_level(l:gy) - a:g
|
||||
let l:dgb = <SID>grey_level(l:gz) - a:b
|
||||
let l:dgrey = (l:dgr * l:dgr) + (l:dgg * l:dgg) + (l:dgb * l:dgb)
|
||||
let l:dr = <SID>rgb_level(l:gx) - a:r
|
||||
let l:dg = <SID>rgb_level(l:gy) - a:g
|
||||
let l:db = <SID>rgb_level(l:gz) - a:b
|
||||
let l:drgb = (l:dr * l:dr) + (l:dg * l:dg) + (l:db * l:db)
|
||||
if l:dgrey < l:drgb
|
||||
" Use the grey
|
||||
return <SID>grey_colour(l:gx)
|
||||
else
|
||||
" Use the colour
|
||||
return <SID>rgb_colour(l:x, l:y, l:z)
|
||||
endif
|
||||
else
|
||||
" Only one possibility
|
||||
return <SID>rgb_colour(l:x, l:y, l:z)
|
||||
endif
|
||||
endfun
|
||||
|
||||
" Returns the palette index to approximate the 'rrggbb' hex string
|
||||
fun <SID>rgb(rgb)
|
||||
let l:r = ("0x" . strpart(a:rgb, 0, 2)) + 0
|
||||
let l:g = ("0x" . strpart(a:rgb, 2, 2)) + 0
|
||||
let l:b = ("0x" . strpart(a:rgb, 4, 2)) + 0
|
||||
|
||||
return <SID>colour(l:r, l:g, l:b)
|
||||
endfun
|
||||
|
||||
" Sets the highlighting for the given group
|
||||
fun <SID>X(group, fg, bg, attr)
|
||||
if a:fg != ""
|
||||
exec "hi " . a:group . " guifg=#" . a:fg . " ctermfg=" . <SID>rgb(a:fg)
|
||||
endif
|
||||
if a:bg != ""
|
||||
exec "hi " . a:group . " guibg=#" . a:bg . " ctermbg=" . <SID>rgb(a:bg)
|
||||
endif
|
||||
if a:attr != ""
|
||||
exec "hi " . a:group . " gui=" . a:attr . " cterm=" . a:attr
|
||||
endif
|
||||
endfun
|
||||
|
||||
" Vim Highlighting
|
||||
call <SID>X("Normal", s:foreground, s:background, "")
|
||||
highlight LineNr term=bold cterm=NONE ctermfg=DarkGrey ctermbg=NONE gui=NONE guifg=DarkGrey guibg=NONE
|
||||
call <SID>X("NonText", s:selection, "", "")
|
||||
call <SID>X("SpecialKey", s:selection, "", "")
|
||||
call <SID>X("Search", s:foreground, s:yellow, "")
|
||||
call <SID>X("TabLine", s:foreground, s:background, "reverse")
|
||||
call <SID>X("StatusLine", s:window, s:yellow, "reverse")
|
||||
call <SID>X("StatusLineNC", s:window, s:foreground, "reverse")
|
||||
call <SID>X("VertSplit", s:window, s:window, "none")
|
||||
call <SID>X("Visual", "", s:selection, "")
|
||||
call <SID>X("Directory", s:blue, "", "")
|
||||
call <SID>X("ModeMsg", s:green, "", "")
|
||||
call <SID>X("MoreMsg", s:green, "", "")
|
||||
call <SID>X("Question", s:green, "", "")
|
||||
call <SID>X("WarningMsg", s:red, "", "")
|
||||
call <SID>X("MatchParen", "", s:selection, "")
|
||||
call <SID>X("Folded", s:comment, s:background, "")
|
||||
call <SID>X("FoldColumn", "", s:background, "")
|
||||
if version >= 700
|
||||
call <SID>X("CursorLine", "", s:line, "none")
|
||||
call <SID>X("CursorColumn", "", s:line, "none")
|
||||
call <SID>X("PMenu", s:foreground, s:selection, "none")
|
||||
call <SID>X("PMenuSel", s:foreground, s:selection, "reverse")
|
||||
end
|
||||
if version >= 703
|
||||
call <SID>X("ColorColumn", "", s:line, "none")
|
||||
end
|
||||
|
||||
" Standard Highlighting
|
||||
call <SID>X("Comment", s:comment, "", "")
|
||||
call <SID>X("Todo", s:comment, s:background, "")
|
||||
call <SID>X("Title", s:comment, "", "")
|
||||
call <SID>X("Identifier", s:red, "", "none")
|
||||
call <SID>X("Statement", s:foreground, "", "")
|
||||
call <SID>X("Conditional", s:foreground, "", "")
|
||||
call <SID>X("Repeat", s:foreground, "", "")
|
||||
call <SID>X("Structure", s:purple, "", "")
|
||||
call <SID>X("Function", s:blue, "", "")
|
||||
call <SID>X("Constant", s:orange, "", "")
|
||||
call <SID>X("String", s:green, "", "")
|
||||
call <SID>X("Special", s:foreground, "", "")
|
||||
call <SID>X("PreProc", s:purple, "", "")
|
||||
call <SID>X("Operator", s:aqua, "", "none")
|
||||
call <SID>X("Type", s:blue, "", "none")
|
||||
call <SID>X("Define", s:purple, "", "none")
|
||||
call <SID>X("Include", s:blue, "", "")
|
||||
"call <SID>X("Ignore", "666666", "", "")
|
||||
|
||||
" Vim Highlighting
|
||||
call <SID>X("vimCommand", s:red, "", "none")
|
||||
|
||||
" C Highlighting
|
||||
call <SID>X("cType", s:yellow, "", "")
|
||||
call <SID>X("cStorageClass", s:purple, "", "")
|
||||
call <SID>X("cConditional", s:purple, "", "")
|
||||
call <SID>X("cRepeat", s:purple, "", "")
|
||||
|
||||
" PHP Highlighting
|
||||
call <SID>X("phpVarSelector", s:red, "", "")
|
||||
call <SID>X("phpKeyword", s:purple, "", "")
|
||||
call <SID>X("phpRepeat", s:purple, "", "")
|
||||
call <SID>X("phpConditional", s:purple, "", "")
|
||||
call <SID>X("phpStatement", s:purple, "", "")
|
||||
call <SID>X("phpMemberSelector", s:foreground, "", "")
|
||||
|
||||
" Ruby Highlighting
|
||||
call <SID>X("rubySymbol", s:green, "", "")
|
||||
call <SID>X("rubyConstant", s:yellow, "", "")
|
||||
call <SID>X("rubyAttribute", s:blue, "", "")
|
||||
call <SID>X("rubyInclude", s:blue, "", "")
|
||||
call <SID>X("rubyLocalVariableOrMethod", s:orange, "", "")
|
||||
call <SID>X("rubyCurlyBlock", s:orange, "", "")
|
||||
call <SID>X("rubyStringDelimiter", s:green, "", "")
|
||||
call <SID>X("rubyInterpolationDelimiter", s:orange, "", "")
|
||||
call <SID>X("rubyConditional", s:purple, "", "")
|
||||
call <SID>X("rubyRepeat", s:purple, "", "")
|
||||
|
||||
" Python Highlighting
|
||||
call <SID>X("pythonInclude", s:purple, "", "")
|
||||
call <SID>X("pythonStatement", s:purple, "", "")
|
||||
call <SID>X("pythonConditional", s:purple, "", "")
|
||||
call <SID>X("pythonRepeat", s:purple, "", "")
|
||||
call <SID>X("pythonException", s:purple, "", "")
|
||||
call <SID>X("pythonFunction", s:blue, "", "")
|
||||
|
||||
" JavaScript Highlighting
|
||||
call <SID>X("javaScriptBraces", s:foreground, "", "")
|
||||
call <SID>X("javaScriptFunction", s:purple, "", "")
|
||||
call <SID>X("javaScriptConditional", s:purple, "", "")
|
||||
call <SID>X("javaScriptRepeat", s:purple, "", "")
|
||||
call <SID>X("javaScriptNumber", s:orange, "", "")
|
||||
call <SID>X("javaScriptMember", s:orange, "", "")
|
||||
|
||||
" HTML Highlighting
|
||||
call <SID>X("htmlTag", s:red, "", "")
|
||||
call <SID>X("htmlTagName", s:red, "", "")
|
||||
call <SID>X("htmlArg", s:red, "", "")
|
||||
call <SID>X("htmlScriptTag", s:red, "", "")
|
||||
|
||||
" Diff Highlighting
|
||||
call <SID>X("diffAdded", s:green, "", "")
|
||||
call <SID>X("diffRemoved", s:red, "", "")
|
||||
|
||||
" Delete Functions
|
||||
delf <SID>X
|
||||
delf <SID>rgb
|
||||
delf <SID>colour
|
||||
delf <SID>rgb_colour
|
||||
delf <SID>rgb_level
|
||||
delf <SID>rgb_number
|
||||
delf <SID>grey_colour
|
||||
delf <SID>grey_level
|
||||
delf <SID>grey_number
|
||||
endif
|
||||
|
||||
:highlight SignColumn guibg=#efefef
|
||||
@@ -0,0 +1,55 @@
|
||||
" Vim color scheme
|
||||
"
|
||||
" Name: blackboard.vim
|
||||
" Maintainer: Ben Wyrosdick <ben.wyrosdick@gmail.com>
|
||||
" Last Change: 20 August 2009
|
||||
" License: public domain
|
||||
" Version: 1.4
|
||||
|
||||
set background=dark
|
||||
hi clear
|
||||
if exists("syntax_on")
|
||||
syntax reset
|
||||
endif
|
||||
|
||||
let g:colors_name = "blackboard"
|
||||
|
||||
if has("gui_running")
|
||||
"GUI Colors
|
||||
highlight Normal guifg=White guibg=#0B1022
|
||||
highlight Cursor guifg=Black guibg=Yellow
|
||||
highlight CursorLine guibg=#191E2F
|
||||
highlight LineNr guibg=#323232 guifg=#888888
|
||||
highlight Folded guifg=#f1f3e8 guibg=#444444
|
||||
highlight Pmenu guibg=#84A7C1
|
||||
|
||||
"General Colors
|
||||
highlight Comment guifg=#AEAEAE
|
||||
highlight Constant guifg=#CAFE1E
|
||||
highlight Keyword guifg=#FFDE00
|
||||
highlight String guifg=#00D42D
|
||||
highlight Type guifg=#84A7C1
|
||||
highlight Identifier guifg=#00D42D gui=NONE
|
||||
highlight Function guifg=#FF5600 gui=NONE
|
||||
highlight clear Search
|
||||
highlight Search guibg=#1C3B79
|
||||
highlight PreProc guifg=#FF5600
|
||||
|
||||
"HTML Colors
|
||||
highlight link htmlTag Type
|
||||
highlight link htmlEndTag htmlTag
|
||||
highlight link htmlTagName htmlTag
|
||||
|
||||
"Ruby Colors
|
||||
highlight link rubyClass Keyword
|
||||
highlight link rubyDefine Keyword
|
||||
highlight link rubyConstant Type
|
||||
highlight link rubySymbol Constant
|
||||
highlight link rubyStringDelimiter rubyString
|
||||
highlight link rubyInclude Keyword
|
||||
highlight link rubyAttribute Keyword
|
||||
highlight link rubyInstanceVariable Normal
|
||||
|
||||
"Rails Colors
|
||||
highlight link railsMethod Type
|
||||
end
|
||||
@@ -0,0 +1,198 @@
|
||||
" Vim color file: calmar256-dark.vim
|
||||
" Last Change: 02. March 2007
|
||||
" License: public domain
|
||||
" Maintainer:: calmar <mac@calmar.ws>
|
||||
"
|
||||
" for a 256 color capable terminal like xterm-256color, ... or gvim as well
|
||||
" "{{{
|
||||
" it only works in such a terminal and when you have:
|
||||
" set t_Co=256
|
||||
" in your vimrc"}}}
|
||||
"
|
||||
|
||||
" {{{ t_Co=256 is set - check
|
||||
if &t_Co != 256 && ! has("gui_running")
|
||||
echomsg ""
|
||||
echomsg "write 'set t_Co=256' in your .vimrc or this file won't load"
|
||||
echomsg ""
|
||||
finish
|
||||
endif
|
||||
" }}}
|
||||
" {{{ reset colors and set colors_name and store cpo setting
|
||||
set background=dark
|
||||
hi clear
|
||||
if exists("syntax_on")
|
||||
syntax reset
|
||||
endif
|
||||
|
||||
let g:colors_name = "calmar256"
|
||||
|
||||
let s:save_cpo = &cpo
|
||||
set cpo&vim
|
||||
" }}}
|
||||
|
||||
" Format:"{{{
|
||||
" \ ["color-item", "style", "foreground", "background" ],
|
||||
"
|
||||
" in vim :help help hl-<highlight-group>
|
||||
" :help highlight-groups
|
||||
"
|
||||
" Color numbers (0-255) see:
|
||||
" http://www.calmar.ws/vim/256-xterm-24bit-rgb-color-chart.html
|
||||
|
||||
" ----------------------"}}}
|
||||
" EDIT/ADD style/colors below
|
||||
|
||||
let s:colors256 = [
|
||||
\ ["Normal", "NONE", "41", "232" ],
|
||||
\ ["Cursor", "NONE", "255", "33" ],
|
||||
\ ["CursorLine", "NONE", "NONE", "233" ],
|
||||
\ ["CursorColumn", "NONE", "NONE", "233" ],
|
||||
\ ["Incsearch", "BOLD", "195", "124" ],
|
||||
\ ["Search", "NONE", "NONE", "52" ],
|
||||
\ ["ErrorMsg", "BOLD", "16", "202" ],
|
||||
\ ["WarningMsg", "BOLD", "16", "190" ],
|
||||
\ ["ModeMsg", "NONE", "226", "18" ],
|
||||
\ ["MoreMsg", "BOLD", "16", "154" ],
|
||||
\ ["Question", "BOLD", "70", "NONE" ],
|
||||
\ ["StatusLine", "NONE", "190", "22" ],
|
||||
\ ["StatusLineNC", "NONE", "84", "234" ],
|
||||
\ ["User1", "BOLD", "28", "NONE" ],
|
||||
\ ["User2", "BOLD", "39", "NONE" ],
|
||||
\ ["VertSplit", "NONE", "84", "22" ],
|
||||
\ ["WildMenu", "BOLD", "87", "35" ],
|
||||
\ ["DiffText", "NONE", "16", "190" ],
|
||||
\ ["DiffChange", "NONE", "18", "83" ],
|
||||
\ ["DiffDelete", "NONE", "79", "124" ],
|
||||
\ ["DiffAdd", "NONE", "79", "21" ],
|
||||
\ ["Folded", "NONE", "38", "234" ],
|
||||
\ ["FoldedColumn", "NONE", "39", "190" ],
|
||||
\ ["Directory", "NONE", "28", "NONE" ],
|
||||
\ ["LineNr", "NONE", "28", "16" ],
|
||||
\ ["NonText", "NONE", "244", "16" ],
|
||||
\ ["SpecialKey", "NONE", "190", "NONE" ],
|
||||
\ ["Title", "BOLD", "98", "NONE" ],
|
||||
\ ["Visual", "BOLD", "NONE", "238" ],
|
||||
\ ["Comment", "NONE", "37", "NONE" ],
|
||||
\ ["Costant", "NONE", "73", "NONE" ],
|
||||
\ ["String", "NONE", "190", "NONE" ],
|
||||
\ ["Error", "NONE", "69", "NONE" ],
|
||||
\ ["Identifier", "NONE", "81", "NONE" ],
|
||||
\ ["Ignore", "NONE", "NONE", "NONE" ],
|
||||
\ ["Number", "NONE", "50", "NONE" ],
|
||||
\ ["PreProc", "NONE", "178", "NONE" ],
|
||||
\ ["Special", "NONE", "15", "234" ],
|
||||
\ ["SpecialChar", "NONE", "155", "NONE" ],
|
||||
\ ["Statement", "NONE", "120", "NONE" ],
|
||||
\ ["Todo", "BOLD", "16", "148" ],
|
||||
\ ["Type", "NONE", "71", "NONE" ],
|
||||
\ ["Underlined", "BOLD", "77", "NONE" ],
|
||||
\ ["TaglistTagName","BOLD", "48", "124" ],
|
||||
\ ]
|
||||
|
||||
let s:colorvim7 = [
|
||||
\ ["Pmenu", "NONE", "228", "236" ],
|
||||
\ ["PmenuSel", "BOLD", "226", "232" ],
|
||||
\ ["PmenuSbar", "NONE", "119", "16" ],
|
||||
\ ["PmenuThumb", "NONE", "11", "16" ],
|
||||
\ ["SpellBad", "NONE", "46", "233" ],
|
||||
\ ["SpellRare", "NONE", "82", "233" ],
|
||||
\ ["SpellLocal", "NONE", "227", "234" ],
|
||||
\ ["SpellCap", "NONE", "46", "236" ],
|
||||
\ ["MatchParen", "BOLD", "15", "22" ],
|
||||
\ ["TabLine", "NONE", "252", "22" ],
|
||||
\ ["TabLineSel", "BOLD", "253", "30" ],
|
||||
\ ["TabLineFill", "NONE", "247", "16" ],
|
||||
\ ]
|
||||
|
||||
"=========================================
|
||||
" NO NEED to edit below (unless bugfixing)
|
||||
"=========================================
|
||||
" {{{ check args helper function
|
||||
function! s:checkargs(arg)
|
||||
if a:arg+0 == 0 && a:arg != "0" "its a string
|
||||
return a:arg
|
||||
else
|
||||
return s:cmap[a:arg+0] "get rgb color based on the number
|
||||
endif
|
||||
endfunction
|
||||
" }}}
|
||||
" {{{ color setup for terminal
|
||||
if ! has("gui_running")
|
||||
for s:col in s:colors256
|
||||
exec "hi ".s:col[0]." cterm=".s:col[1]." ctermfg=".s:col[2]." ctermbg=".s:col[3]
|
||||
endfor
|
||||
if v:version >= 700
|
||||
for s:col in s:colorvim7
|
||||
exec "hi ".s:col[0]." cterm=".s:col[1]." ctermfg=".s:col[2]." ctermbg=".s:col[3]
|
||||
endfor
|
||||
endif
|
||||
else
|
||||
" }}}
|
||||
" color-mapping array {{{
|
||||
" number of vim colors and #html colors equivalent for gui
|
||||
let s:cmap = [
|
||||
\ "#000000", "#800000", "#008000", "#808000",
|
||||
\ "#000080", "#800080", "#008080", "#c0c0c0",
|
||||
\ "#808080", "#ff0000", "#00ff00", "#ffff00",
|
||||
\ "#0000ff", "#ff00ff", "#00ffff", "#ffffff",
|
||||
\
|
||||
\ "#000000", "#00005f", "#00008f", "#0000af", "#0000d7", "#0000ff",
|
||||
\ "#005f00", "#005f5f", "#005f8f", "#005faf", "#005fd7", "#005fff",
|
||||
\ "#008f00", "#008f5f", "#008f8f", "#008faf", "#008fd7", "#008fff",
|
||||
\ "#00af00", "#00af5f", "#00af8f", "#00afaf", "#00afd7", "#00afff",
|
||||
\ "#00d700", "#00d75f", "#00d78f", "#00d7af", "#00d7d7", "#00d7ff",
|
||||
\ "#00ff00", "#00ff5f", "#00ff8f", "#00ffaf", "#00ffd7", "#00ffff",
|
||||
\ "#5f0000", "#5f005f", "#5f008f", "#5f00af", "#5f00d7", "#5f00ff",
|
||||
\ "#5f5f00", "#5f5f5f", "#5f5f8f", "#5f5faf", "#5f5fd7", "#5f5fff",
|
||||
\ "#5f8f00", "#5f8f5f", "#5f8f8f", "#5f8faf", "#5f8fd7", "#5f8fff",
|
||||
\ "#5faf00", "#5faf5f", "#5faf8f", "#5fafaf", "#5fafd7", "#5fafff",
|
||||
\ "#5fd700", "#5fd75f", "#5fd78f", "#5fd7af", "#5fd7d7", "#5fd7ff",
|
||||
\ "#5fff00", "#5fff5f", "#5fff8f", "#5fffaf", "#5fffd7", "#5fffff",
|
||||
\ "#8f0000", "#8f005f", "#8f008f", "#8f00af", "#8f00d7", "#8f00ff",
|
||||
\ "#8f5f00", "#8f5f5f", "#8f5f8f", "#8f5faf", "#8f5fd7", "#8f5fff",
|
||||
\ "#8f8f00", "#8f8f5f", "#8f8f8f", "#8f8faf", "#8f8fd7", "#8f8fff",
|
||||
\ "#8faf00", "#8faf5f", "#8faf8f", "#8fafaf", "#8fafd7", "#8fafff",
|
||||
\ "#8fd700", "#8fd75f", "#8fd78f", "#8fd7af", "#8fd7d7", "#8fd7ff",
|
||||
\ "#8fff00", "#8fff5f", "#8fff8f", "#8fffaf", "#8fffd7", "#8fffff",
|
||||
\ "#af0000", "#af005f", "#af008f", "#af00af", "#af00d7", "#af00ff",
|
||||
\ "#af5f00", "#af5f5f", "#af5f8f", "#af5faf", "#af5fd7", "#af5fff",
|
||||
\ "#af8f00", "#af8f5f", "#af8f8f", "#af8faf", "#af8fd7", "#af8fff",
|
||||
\ "#afaf00", "#afaf5f", "#afaf8f", "#afafaf", "#afafd7", "#afafff",
|
||||
\ "#afd700", "#afd75f", "#afd78f", "#afd7af", "#afd7d7", "#afd7ff",
|
||||
\ "#afff00", "#afff5f", "#afff8f", "#afffaf", "#afffd7", "#afffff",
|
||||
\ "#d70000", "#d7005f", "#d7008f", "#d700af", "#d700d7", "#d700ff",
|
||||
\ "#d75f00", "#d75f5f", "#d75f8f", "#d75faf", "#d75fd7", "#d75fff",
|
||||
\ "#d78f00", "#d78f5f", "#d78f8f", "#d78faf", "#d78fd7", "#d78fff",
|
||||
\ "#d7af00", "#d7af5f", "#d7af8f", "#d7afaf", "#d7afd7", "#d7afff",
|
||||
\ "#d7d700", "#d7d75f", "#d7d78f", "#d7d7af", "#d7d7d7", "#d7d7ff",
|
||||
\ "#d7ff00", "#d7ff5f", "#d7ff8f", "#d7ffaf", "#d7ffd7", "#d7ffff",
|
||||
\ "#ff0000", "#ff005f", "#ff008f", "#ff00af", "#ff00d7", "#ff00ff",
|
||||
\ "#ff5f00", "#ff5f5f", "#ff5f8f", "#ff5faf", "#ff5fd7", "#ff5fff",
|
||||
\ "#ff8f00", "#ff8f5f", "#ff8f8f", "#ff8faf", "#ff8fd7", "#ff8fff",
|
||||
\ "#ffaf00", "#ffaf5f", "#ffaf8f", "#ffafaf", "#ffafd7", "#ffafff",
|
||||
\ "#ffd700", "#ffd75f", "#ffd78f", "#ffd7af", "#ffd7d7", "#ffd7ff",
|
||||
\ "#ffff00", "#ffff5f", "#ffff8f", "#ffffaf", "#ffffd7", "#ffffff",
|
||||
\
|
||||
\ "#080808", "#121212", "#1c1c1c", "#262626", "#303030", "#3a3a3a",
|
||||
\ "#444444", "#4e4e4e", "#585858", "#606060", "#666666", "#767676",
|
||||
\ "#808080", "#8a8a8a", "#949494", "#9e9e9e", "#a8a8a8", "#b2b2b2",
|
||||
\ "#bcbcbc", "#c6c6c6", "#d0d0d0", "#dadada", "#e4e4e4", "#eeeeee" ]
|
||||
" }}}
|
||||
" {{{ color setup for gvim
|
||||
for s:col in s:colors256
|
||||
let fg = s:checkargs(s:col[2])
|
||||
let bg = s:checkargs(s:col[3])
|
||||
exec "hi ".s:col[0]." gui=".s:col[1]." guifg=".fg." guibg=".bg
|
||||
endfor
|
||||
if v:version >= 700
|
||||
for s:col in s:colorvim7
|
||||
let fg = s:checkargs(s:col[2])
|
||||
let bg = s:checkargs(s:col[3])
|
||||
exec "hi ".s:col[0]." gui=".s:col[1]." guifg=".fg." guibg=".bg
|
||||
endfor
|
||||
endif
|
||||
endif
|
||||
" }}}
|
||||
let &cpo = s:save_cpo " restoring &cpo value
|
||||
" vim: set fdm=marker fileformat=unix:
|
||||
@@ -0,0 +1,180 @@
|
||||
" Author: Kim Silkebækken <kim.silkebaekken+vim@gmail.com>
|
||||
" Source repository: https://github.com/Lokaltog/vim-distinguished
|
||||
|
||||
" Initialization {{{
|
||||
set background=dark
|
||||
|
||||
hi clear
|
||||
if exists('syntax_on')
|
||||
syntax reset
|
||||
endif
|
||||
|
||||
let g:colors_name = 'distinguished'
|
||||
|
||||
if ! has('gui_running')
|
||||
if &t_Co != 256
|
||||
echoe 'The ' . g:colors_name . ' color scheme requires gvim or a 256-color terminal'
|
||||
|
||||
finish
|
||||
endif
|
||||
endif
|
||||
" }}}
|
||||
" Color dictionary parser {{{
|
||||
function! s:ColorDictParser(color_dict)
|
||||
for [group, group_colors] in items(a:color_dict)
|
||||
exec 'hi ' . group
|
||||
\ . ' ctermfg=' . (group_colors[0] == '' ? 'NONE' : group_colors[0])
|
||||
\ . ' ctermbg=' . (group_colors[1] == '' ? 'NONE' : group_colors[1])
|
||||
\ . ' cterm=' . (group_colors[2] == '' ? 'NONE' : group_colors[2])
|
||||
\
|
||||
\ . ' guifg=' . (group_colors[3] == '' ? 'NONE' : '#' . group_colors[3])
|
||||
\ . ' guibg=' . (group_colors[4] == '' ? 'NONE' : '#' . group_colors[4])
|
||||
\ . ' gui=' . (group_colors[5] == '' ? 'NONE' : group_colors[5])
|
||||
endfor
|
||||
endfunction
|
||||
" }}}
|
||||
|
||||
" | Highlight group | CTFG | CTBG | CTAttributes | || | GUIFG | GUIBG | GUIAttributes |
|
||||
" |--------------------------------|-------|-------|-----------------| || |---------|----------|-----------------|
|
||||
call s:ColorDictParser({
|
||||
\ 'Normal' : [ 231, 16, '', 'ffffff', '000000', '']
|
||||
\ , 'Visual' : [ 240, 253, '', '585858', 'dadada', '']
|
||||
\
|
||||
\ , 'Cursor' : [ '', '', '', 'ffffff', 'dd4010', '']
|
||||
\ , 'lCursor' : [ '', '', '', 'ffffff', '89b6e2', '']
|
||||
\
|
||||
\ , 'CursorLine' : [ '', 236, '', '', '3a3a3a', '']
|
||||
\ , 'CursorLineNr' : [ 231, 240, '', 'ffffff', '585858', '']
|
||||
\ , 'CursorColumn' : [ 231, 237, '', 'ffffff', '3a3a3a', '']
|
||||
\
|
||||
\ , 'Folded' : [ 249, 234, '', 'b2b2b2', '1c1c1c', '']
|
||||
\ , 'FoldColumn' : [ 243, 234, '', '767676', '1c1c1c', '']
|
||||
\ , 'SignColumn' : [ 231, 233, 'bold', 'ffffff', '121212', 'bold']
|
||||
\ , 'ColorColumn' : [ '', 233, '', '', '262626', '']
|
||||
\
|
||||
\ , 'StatusLine' : [ 231, 236, 'bold', 'ffffff', '303030', 'bold']
|
||||
\ , 'StatusLineNC' : [ 244, 232, '', '808080', '080808', '']
|
||||
\
|
||||
\ , 'LineNr' : [ 243, 235, '', '767676', '262626', '']
|
||||
\ , 'VertSplit' : [ 240, '', '', '585858', '1c1c1c', '']
|
||||
\
|
||||
\ , 'WildMenu' : [ 234, 231, '', '1c1c1c', 'ffffff', '']
|
||||
\ , 'Directory' : [ 143, '', 'bold', 'afaf5f', '', 'bold']
|
||||
\ , 'Underlined' : [ 130, '', '', 'af5f00', '', '']
|
||||
\
|
||||
\ , 'Question' : [ 74, '', 'bold', '5fafd7', '', 'bold']
|
||||
\ , 'MoreMsg' : [ 214, '', 'bold', 'ffaf00', '', 'bold']
|
||||
\ , 'WarningMsg' : [ 202, '', 'bold', 'ff5f00', '', 'bold']
|
||||
\ , 'ErrorMsg' : [ 196, '', 'bold', 'ff0000', '', 'bold']
|
||||
\
|
||||
\ , 'Comment' : [ 243, 233, '', '767676', '121212', '']
|
||||
\ , 'vimCommentTitleLeader' : [ 250, 233, '', 'bcbcbc', '121212', '']
|
||||
\ , 'vimCommentTitle' : [ 250, 233, '', 'bcbcbc', '121212', '']
|
||||
\ , 'vimCommentString' : [ 245, 233, '', '8a8a8a', '121212', '']
|
||||
\
|
||||
\ , 'TabLine' : [ 231, 238, '', 'ffffff', '444444', '']
|
||||
\ , 'TabLineSel' : [ 255, '', 'bold', 'eeeeee', '', 'bold']
|
||||
\ , 'TabLineFill' : [ 240, 238, '', '585858', '444444', '']
|
||||
\ , 'TabLineNumber' : [ 160, 238, 'bold', 'd70000', '444444', 'bold']
|
||||
\ , 'TabLineClose' : [ 245, 238, 'bold', '8a8a8a', '444444', 'bold']
|
||||
\
|
||||
\ , 'SpellCap' : [ 231, 31, 'bold', 'ffffff', '0087af', 'bold']
|
||||
\
|
||||
\ , 'SpecialKey' : [ 239, '', '', '4e4e4e', '', '']
|
||||
\ , 'NonText' : [ 88, '', '', '870000', '', '']
|
||||
\ , 'MatchParen' : [ 231, 25, 'bold', 'ffffff', '005faf', 'bold']
|
||||
\
|
||||
\ , 'Constant' : [ 137, '', 'bold', 'af875f', '', 'bold']
|
||||
\ , 'Special' : [ 150, '', '', 'afd787', '', '']
|
||||
\ , 'Identifier' : [ 66, '', 'bold', '5f8787', '', 'bold']
|
||||
\ , 'Statement' : [ 186, '', 'bold', 'd7d787', '', 'bold']
|
||||
\ , 'PreProc' : [ 247, '', '', '9e9e9e', '', '']
|
||||
\ , 'Type' : [ 67, '', 'bold', '5f87af', '', 'bold']
|
||||
\ , 'String' : [ 143, '', '', 'afaf5f', '', '']
|
||||
\ , 'Number' : [ 173, '', '', 'd7875f', '', '']
|
||||
\ , 'Define' : [ 173, '', '', 'd7875f', '', '']
|
||||
\ , 'Error' : [ 208, 124, '', 'ff8700', 'af0000', '']
|
||||
\ , 'Function' : [ 179, '', '', 'd7af5f', '', '']
|
||||
\ , 'Include' : [ 173, '', '', 'd7875f', '', '']
|
||||
\ , 'PreCondit' : [ 173, '', '', 'd7875f', '', '']
|
||||
\ , 'Keyword' : [ 173, '', '', 'd7875f', '', '']
|
||||
\ , 'Search' : [ 231, 131, '', '000000', 'ffff5f', 'underline,bold']
|
||||
\ , 'Title' : [ 231, '', '', 'ffffff', '', '']
|
||||
\ , 'Delimiter' : [ 246, '', '', '949494', '', '']
|
||||
\ , 'StorageClass' : [ 187, '', '', 'd7d7af', '', '']
|
||||
\
|
||||
\ , 'TODO' : [ 228, 94, 'bold', 'ffff87', '875f00', 'bold']
|
||||
\
|
||||
\ , 'SyntasticWarning' : [ 220, 94, '', 'ffff87', '875f00', 'bold']
|
||||
\ , 'SyntasticError' : [ 202, 52, '', 'ffff87', '875f00', 'bold']
|
||||
\
|
||||
\ , 'Pmenu' : [ 248, 240, '', 'a8a8a8', '585858', '']
|
||||
\ , 'PmenuSel' : [ 253, 245, '', 'dadada', '8a8a8a', '']
|
||||
\ , 'PmenuSbar' : [ 253, 248, '', 'dadada', 'a8a8a8', '']
|
||||
\
|
||||
\ , 'phpEOL' : [ 245, '', '', 'dadada', '', '']
|
||||
\ , 'phpStringDelim' : [ 94, '', '', '875f00', '', '']
|
||||
\ , 'phpDelimiter' : [ 160, '', '', 'd70000', '', '']
|
||||
\ , 'phpFunctions' : [ 221, '', 'bold', 'ffd75f', '', 'bold']
|
||||
\ , 'phpBoolean' : [ 172, '', 'bold', 'd78700', '', 'bold']
|
||||
\ , 'phpOperator' : [ 215, '', '', 'ffaf5f', '', '']
|
||||
\ , 'phpMemberSelector' : [ 138, '', 'bold', 'af8787', '', 'bold']
|
||||
\ , 'phpParent' : [ 227, '', '', 'ffff5f', '', '']
|
||||
\
|
||||
\ , 'PHPClassTag' : [ 253, '', '', 'dadada', '', '']
|
||||
\ , 'PHPInterfaceTag' : [ 253, '', '', 'dadada', '', '']
|
||||
\ , 'PHPFunctionTag' : [ 222, '', 'bold', 'ffd787', '', 'bold']
|
||||
\
|
||||
\ , 'pythonDocString' : [ 240, 233, '', '585858', '121212', '']
|
||||
\ , 'pythonDocStringTitle' : [ 245, 233, '', 'dadada', '121212', '']
|
||||
\ , 'pythonRun' : [ 65, '', '', '5f875f', '', '']
|
||||
\ , 'pythonBuiltinObj' : [ 67, '', 'bold', '5f87af', '', 'bold']
|
||||
\ , 'pythonSelf' : [ 250, '', 'bold', 'bcbcbc', '', 'bold']
|
||||
\ , 'pythonFunction' : [ 179, '', 'bold', 'd7af5f', '', 'bold']
|
||||
\ , 'pythonClass' : [ 221, '', 'bold', 'ffd75f', '', 'bold']
|
||||
\ , 'pythonExClass' : [ 130, '', '', 'af5f00', '', '']
|
||||
\ , 'pythonException' : [ 130, '', 'bold', 'af5f00', '', 'bold']
|
||||
\ , 'pythonOperator' : [ 186, '', '', 'd7d787', '', '']
|
||||
\ , 'pythonPreCondit' : [ 152, '', 'bold', 'afd7d7', '', 'bold']
|
||||
\ , 'pythonDottedName' : [ 166, '', '', 'd75f00', '', '']
|
||||
\ , 'pythonDecorator' : [ 124, '', 'bold', 'af0000', '', 'bold']
|
||||
\
|
||||
\ , 'PythonInterfaceTag' : [ 109, '', '', '87afaf', '', '']
|
||||
\ , 'PythonClassTag' : [ 221, '', '', 'ffd75f', '', '']
|
||||
\ , 'PythonFunctionTag' : [ 109, '', '', '87afaf', '', '']
|
||||
\ , 'PythonVariableTag' : [ 253, '', '', 'dadada', '', '']
|
||||
\ , 'PythonMemberTag' : [ 145, '', '', 'afafaf', '', '']
|
||||
\
|
||||
\ , 'CTagsImport' : [ 109, '', '', '87afaf', '', '']
|
||||
\ , 'CTagsClass' : [ 221, '', '', 'ffd75f', '', '']
|
||||
\ , 'CTagsFunction' : [ 109, '', '', '87afaf', '', '']
|
||||
\ , 'CTagsGlobalVariable' : [ 253, '', '', 'dadada', '', '']
|
||||
\ , 'CTagsMember' : [ 145, '', '', 'afafaf', '', '']
|
||||
\
|
||||
\ , 'xmlTag' : [ 149, '', 'bold', 'afd75f', '', 'bold']
|
||||
\ , 'xmlTagName' : [ 250, '', '', 'bcbcbc', '', '']
|
||||
\ , 'xmlEndTag' : [ 209, '', 'bold', 'ff875f', '', 'bold']
|
||||
\
|
||||
\ , 'cssImportant' : [ 166, '', 'bold', 'd75f00', '', 'bold']
|
||||
\
|
||||
\ , 'DiffAdd' : [ 112, 22, '', '87d700', '005f00', '']
|
||||
\ , 'DiffChange' : [ 220, 94, '', 'ffd700', '875f00', '']
|
||||
\ , 'DiffDelete' : [ 160, '', '', 'd70000', '', '']
|
||||
\ , 'DiffText' : [ 220, 94, 'reverse,bold', 'ffd700', '875f00', 'reverse,bold']
|
||||
\
|
||||
\ , 'diffLine' : [ 68, '', 'bold', '5f87d7', '', 'bold']
|
||||
\ , 'diffFile' : [ 242, '', '', '6c6c6c', '', '']
|
||||
\ , 'diffNewFile' : [ 242, '', '', '6c6c6c', '', '']
|
||||
\ })
|
||||
|
||||
hi link htmlTag xmlTag
|
||||
hi link htmlTagName xmlTagName
|
||||
hi link htmlEndTag xmlEndTag
|
||||
|
||||
hi link phpCommentTitle vimCommentTitle
|
||||
hi link phpDocTags vimCommentString
|
||||
hi link phpDocParam vimCommentTitle
|
||||
|
||||
hi link diffAdded DiffAdd
|
||||
hi link diffChanged DiffChange
|
||||
hi link diffRemoved DiffDelete
|
||||
@@ -0,0 +1,102 @@
|
||||
" Vim color file
|
||||
" Converted from Textmate theme Espresso Soda using Coloration v0.2.5 (http://github.com/sickill/coloration)
|
||||
|
||||
set background=light
|
||||
highlight clear
|
||||
|
||||
if exists("syntax_on")
|
||||
syntax reset
|
||||
endif
|
||||
|
||||
let g:colors_name = "Espresso Soda"
|
||||
|
||||
hi Cursor guifg=NONE guibg=#000000 gui=NONE
|
||||
hi Visual guifg=NONE guibg=#c2e8ff gui=NONE
|
||||
hi CursorLine guifg=NONE guibg=#f2f2f2 gui=NONE
|
||||
hi CursorColumn guifg=NONE guibg=#f2f2f2 gui=NONE
|
||||
hi LineNr guifg=#808080 guibg=#ffffff gui=NONE
|
||||
hi VertSplit guifg=#cfcfcf guibg=#cfcfcf gui=NONE
|
||||
hi MatchParen guifg=#61862f guibg=NONE gui=NONE
|
||||
hi StatusLine guifg=#000000 guibg=#cfcfcf gui=bold
|
||||
hi StatusLineNC guifg=#000000 guibg=#cfcfcf gui=NONE
|
||||
hi Pmenu guifg=#61862f guibg=NONE gui=NONE
|
||||
hi PmenuSel guifg=NONE guibg=#c2e8ff gui=NONE
|
||||
hi IncSearch guifg=NONE guibg=#c4daed gui=NONE
|
||||
hi Search guifg=NONE guibg=#c4daed gui=NONE
|
||||
hi Directory guifg=NONE guibg=#e8ffd5 gui=bold
|
||||
hi Folded guifg=#adadad guibg=#ffffff gui=NONE
|
||||
|
||||
hi Normal guifg=#000000 guibg=#ffffff gui=NONE
|
||||
hi Boolean guifg=#7653c1 guibg=#f3f2ff gui=NONE
|
||||
hi Character guifg=#bc670f guibg=#fffdf7 gui=NONE
|
||||
hi Comment guifg=#adadad guibg=NONE gui=NONE
|
||||
hi Conditional guifg=#61862f guibg=NONE gui=NONE
|
||||
hi Constant guifg=#7653c1 guibg=#f3f2ff gui=NONE
|
||||
hi Define guifg=#61862f guibg=NONE gui=NONE
|
||||
hi ErrorMsg guifg=NONE guibg=NONE gui=NONE
|
||||
hi WarningMsg guifg=NONE guibg=NONE gui=NONE
|
||||
hi Float guifg=#7653c1 guibg=#f3f2ff gui=NONE
|
||||
hi Function guifg=#61862f guibg=NONE gui=NONE
|
||||
hi Identifier guifg=#6700b9 guibg=NONE gui=NONE
|
||||
hi Keyword guifg=#61862f guibg=NONE gui=NONE
|
||||
hi Label guifg=#bc670f guibg=#fffdf7 gui=NONE
|
||||
hi NonText guifg=#e0e0e0 guibg=#f2f2f2 gui=NONE
|
||||
hi Number guifg=#7653c1 guibg=#f3f2ff gui=NONE
|
||||
hi Operator guifg=#626fc9 guibg=NONE gui=NONE
|
||||
hi PreProc guifg=#61862f guibg=NONE gui=NONE
|
||||
hi Special guifg=#000000 guibg=NONE gui=NONE
|
||||
hi SpecialKey guifg=#e0e0e0 guibg=#f2f2f2 gui=NONE
|
||||
hi Statement guifg=#61862f guibg=NONE gui=NONE
|
||||
hi StorageClass guifg=#6700b9 guibg=NONE gui=NONE
|
||||
hi String guifg=#bc670f guibg=#fffdf7 gui=NONE
|
||||
hi Tag guifg=#2f6f9f guibg=#f4faff gui=NONE
|
||||
hi Title guifg=#000000 guibg=NONE gui=bold
|
||||
hi Todo guifg=#adadad guibg=NONE gui=inverse,bold
|
||||
hi Type guifg=#3a1d72 guibg=NONE gui=NONE
|
||||
hi Underlined guifg=NONE guibg=NONE gui=underline
|
||||
hi rubyClass guifg=#61862f guibg=NONE gui=NONE
|
||||
hi rubyFunction guifg=#61862f guibg=NONE gui=NONE
|
||||
hi rubyInterpolationDelimiter guifg=NONE guibg=NONE gui=NONE
|
||||
hi rubySymbol guifg=NONE guibg=#e8ffd5 gui=bold
|
||||
hi rubyConstant guifg=#3a1d72 guibg=NONE gui=NONE
|
||||
hi rubyStringDelimiter guifg=#bc670f guibg=#fffdf7 gui=NONE
|
||||
hi rubyBlockParameter guifg=#4c8fc7 guibg=NONE gui=NONE
|
||||
hi rubyInstanceVariable guifg=#7653c1 guibg=#f3f2ff gui=NONE
|
||||
hi rubyInclude guifg=#61862f guibg=NONE gui=NONE
|
||||
hi rubyGlobalVariable guifg=#4c8fc7 guibg=NONE gui=NONE
|
||||
hi rubyRegexp guifg=#699d36 guibg=NONE gui=NONE
|
||||
hi rubyRegexpDelimiter guifg=#699d36 guibg=NONE gui=NONE
|
||||
hi rubyEscape guifg=NONE guibg=#fcedbd gui=bold
|
||||
hi rubyControl guifg=#61862f guibg=NONE gui=NONE
|
||||
hi rubyClassVariable guifg=#4c8fc7 guibg=NONE gui=NONE
|
||||
hi rubyOperator guifg=#626fc9 guibg=NONE gui=NONE
|
||||
hi rubyException guifg=#61862f guibg=NONE gui=NONE
|
||||
hi rubyPseudoVariable guifg=#7653c1 guibg=#f3f2ff gui=NONE
|
||||
hi rubyRailsUserClass guifg=#3a1d72 guibg=NONE gui=NONE
|
||||
hi rubyRailsARAssociationMethod guifg=#61862f guibg=NONE gui=NONE
|
||||
hi rubyRailsARMethod guifg=#61862f guibg=NONE gui=NONE
|
||||
hi rubyRailsRenderMethod guifg=#61862f guibg=NONE gui=NONE
|
||||
hi rubyRailsMethod guifg=#61862f guibg=NONE gui=NONE
|
||||
hi erubyDelimiter guifg=#000000 guibg=NONE gui=NONE
|
||||
hi erubyComment guifg=#adadad guibg=NONE gui=NONE
|
||||
hi erubyRailsMethod guifg=#61862f guibg=NONE gui=NONE
|
||||
hi htmlTag guifg=#61862f guibg=NONE gui=NONE
|
||||
hi htmlEndTag guifg=#61862f guibg=NONE gui=NONE
|
||||
hi htmlTagName guifg=#61862f guibg=NONE gui=NONE
|
||||
hi htmlArg guifg=#61862f guibg=NONE gui=NONE
|
||||
hi htmlSpecialChar guifg=#000000 guibg=NONE gui=NONE
|
||||
hi javaScriptFunction guifg=#6700b9 guibg=NONE gui=NONE
|
||||
hi javaScriptRailsFunction guifg=#61862f guibg=NONE gui=NONE
|
||||
hi javaScriptBraces guifg=NONE guibg=NONE gui=NONE
|
||||
hi yamlKey guifg=#2f6f9f guibg=#f4faff gui=NONE
|
||||
hi yamlAnchor guifg=#4c8fc7 guibg=NONE gui=NONE
|
||||
hi yamlAlias guifg=#4c8fc7 guibg=NONE gui=NONE
|
||||
hi yamlDocumentHeader guifg=#bc670f guibg=#fffdf7 gui=NONE
|
||||
hi cssURL guifg=#4c8fc7 guibg=NONE gui=NONE
|
||||
hi cssFunctionName guifg=#61862f guibg=NONE gui=NONE
|
||||
hi cssColor guifg=#7653c1 guibg=#f3f2ff gui=NONE
|
||||
hi cssPseudoClassId guifg=#4f9fcf guibg=NONE gui=NONE
|
||||
hi cssClassName guifg=#4f9fcf guibg=NONE gui=NONE
|
||||
hi cssValueLength guifg=#7653c1 guibg=#f3f2ff gui=NONE
|
||||
hi cssCommonAttr guifg=#7653c1 guibg=#f3f2ff gui=NONE
|
||||
hi cssBraces guifg=#000000 guibg=NONE gui=NONE
|
||||
@@ -0,0 +1,79 @@
|
||||
set background=dark
|
||||
|
||||
hi clear
|
||||
|
||||
if exists("syntax_on")
|
||||
syntax reset
|
||||
endif
|
||||
|
||||
let colors_name = "freya"
|
||||
|
||||
hi Normal ctermbg=0 ctermfg=7 cterm=none guibg=#2a2a2a guifg=#dcdccc gui=none
|
||||
|
||||
hi Cursor guibg=fg guifg=bg gui=none
|
||||
hi CursorColumn guibg=#3f3f3f gui=none
|
||||
hi CursorLine guibg=#3f3f3f gui=none
|
||||
hi DiffAdd guibg=#008b00 guifg=fg gui=none
|
||||
hi DiffChange guibg=#00008b guifg=fg gui=none
|
||||
hi DiffDelete guibg=#8b0000 guifg=fg gui=none
|
||||
hi DiffText guibg=#0000cd guifg=fg gui=bold
|
||||
hi Directory guibg=bg guifg=#d4b064 gui=none
|
||||
hi ErrorMsg guibg=bg guifg=#f07070 gui=bold
|
||||
hi FoldColumn ctermbg=bg guibg=bg guifg=#c2b680 gui=none
|
||||
hi Folded guibg=#101010 guifg=#c2b680 gui=none
|
||||
hi IncSearch guibg=#866a4f guifg=fg gui=none
|
||||
hi LineNr guibg=bg guifg=#9f8f80 gui=none
|
||||
hi ModeMsg guibg=bg guifg=fg gui=bold
|
||||
hi MoreMsg guibg=bg guifg=#dabfa5 gui=bold
|
||||
hi NonText ctermfg=8 guibg=bg guifg=#9f8f80 gui=bold
|
||||
hi Pmenu guibg=#a78869 guifg=#000000 gui=none
|
||||
hi PmenuSbar guibg=#B99F86 guifg=fg gui=none
|
||||
hi PmenuSel guibg=#c0aa94 guifg=bg gui=none
|
||||
hi PmenuThumb guibg=#f7f7f1 guifg=bg gui=none
|
||||
hi Question guibg=bg guifg=#dabfa5 gui=bold
|
||||
hi Search guibg=#c0aa94 guifg=bg gui=none
|
||||
hi SignColumn ctermbg=bg guibg=bg guifg=#c2b680 gui=none
|
||||
hi SpecialKey guibg=bg guifg=#d4b064 gui=none
|
||||
if has("spell")
|
||||
hi SpellBad guisp=#f07070 gui=undercurl
|
||||
hi SpellCap guisp=#7070f0 gui=undercurl
|
||||
hi SpellLocal guisp=#70f0f0 gui=undercurl
|
||||
hi SpellRare guisp=#f070f0 gui=undercurl
|
||||
endif
|
||||
hi StatusLine ctermbg=7 ctermfg=0 guibg=#736559 guifg=#f7f7f1 gui=bold
|
||||
hi StatusLineNC ctermbg=8 ctermfg=0 guibg=#564d43 guifg=#f7f7f1 gui=none
|
||||
hi TabLine guibg=#564d43 guifg=#f7f7f1 gui=underline
|
||||
hi TabLineFill guibg=#564d43 guifg=#f7f7f1 gui=underline
|
||||
hi TabLineSel guibg=bg guifg=#f7f7f1 gui=bold
|
||||
hi Title ctermbg=0 ctermfg=15 guifg=#f7f7f1 gui=bold
|
||||
hi VertSplit ctermbg=7 ctermfg=0 guibg=#564d43 guifg=#f7f7f1 gui=none
|
||||
if version >= 700
|
||||
hi Visual ctermbg=7 ctermfg=0 guibg=#5f5f5f gui=none
|
||||
else
|
||||
hi Visual ctermbg=7 ctermfg=0 guibg=#5f5f5f guifg=fg gui=none
|
||||
endif
|
||||
hi VisualNOS guibg=bg guifg=#c0aa94 gui=bold,underline
|
||||
hi WarningMsg guibg=bg guifg=#f07070 gui=none
|
||||
hi WildMenu guibg=#c0aa94 guifg=bg gui=bold
|
||||
|
||||
hi Comment guibg=bg guifg=#c2b680 gui=none
|
||||
hi Constant guibg=bg guifg=#afe091 gui=none
|
||||
hi Error guibg=bg guifg=#f07070 gui=none
|
||||
hi Identifier guibg=bg guifg=#dabfa5 gui=none
|
||||
hi Ignore guibg=bg guifg=bg gui=none
|
||||
hi lCursor guibg=#c0aa94 guifg=bg gui=none
|
||||
hi MatchParen guibg=#008b8b gui=none
|
||||
hi PreProc guibg=bg guifg=#c2aed0 gui=none
|
||||
hi Special guibg=bg guifg=#d4b064 gui=none
|
||||
hi Statement guibg=bg guifg=#e0af91 gui=bold
|
||||
hi Todo guibg=#aed0ae guifg=bg gui=none
|
||||
hi Type guibg=bg guifg=#dabfa5 gui=bold
|
||||
hi Underlined guibg=bg guifg=#d4b064 gui=underline
|
||||
|
||||
hi htmlBold ctermbg=0 ctermfg=15 guibg=bg guifg=fg gui=bold
|
||||
hi htmlItalic ctermbg=0 ctermfg=15 guibg=bg guifg=fg gui=italic
|
||||
hi htmlUnderline ctermbg=0 ctermfg=15 guibg=bg guifg=fg gui=underline
|
||||
hi htmlBoldItalic ctermbg=0 ctermfg=15 guibg=bg guifg=fg gui=bold,italic
|
||||
hi htmlBoldUnderline ctermbg=0 ctermfg=15 guibg=bg guifg=fg gui=bold,underline
|
||||
hi htmlBoldUnderlineItalic ctermbg=0 ctermfg=15 guibg=bg guifg=fg gui=bold,underline,italic
|
||||
hi htmlUnderlineItalic ctermbg=0 ctermfg=15 guibg=bg guifg=fg gui=underline,italic
|
||||
@@ -0,0 +1,139 @@
|
||||
" Vim color file
|
||||
"
|
||||
" Author: Anthony Carapetis <anthony.carapetis@gmail.com>
|
||||
"
|
||||
" Note: Based on github's syntax highlighting theme
|
||||
" Used Brian Mock's darkspectrum as a starting point/template
|
||||
" Thanks to Ryan Heath for an easy list of some of the colours:
|
||||
" http://rpheath.com/posts/356-github-theme-for-syntax-gem
|
||||
|
||||
hi clear
|
||||
|
||||
set background=light
|
||||
if version > 580
|
||||
" no guarantees for version 5.8 and below, but this makes it stop
|
||||
" complaining
|
||||
hi clear
|
||||
if exists("syntax_on")
|
||||
syntax reset
|
||||
endif
|
||||
endif
|
||||
let g:colors_name="github"
|
||||
|
||||
hi Normal guifg=#000000 guibg=#F8F8FF
|
||||
|
||||
" {{{ Cursor
|
||||
hi Cursor guibg=#444454 guifg=#F8F8FF
|
||||
hi CursorLine guibg=#D8D8DD
|
||||
hi CursorColumn guibg=#E8E8EE
|
||||
" }}}
|
||||
|
||||
" {{{ Diff
|
||||
hi DiffAdd guifg=#003300 guibg=#DDFFDD gui=none
|
||||
hi DiffChange guibg=#ececec gui=none
|
||||
hi DiffText guifg=#000033 guibg=#DDDDFF gui=none
|
||||
hi DiffDelete guifg=#DDCCCC guibg=#FFDDDD gui=none
|
||||
" }}}
|
||||
|
||||
" {{{ Folding / Line Numbering / Status Lines
|
||||
hi Folded guibg=#ECECEC guifg=#808080 gui=bold
|
||||
hi vimFold guibg=#ECECEC guifg=#808080 gui=bold
|
||||
hi FoldColumn guibg=#ECECEC guifg=#808080 gui=bold
|
||||
|
||||
hi LineNr guifg=#959595 guibg=#ECECEC gui=bold
|
||||
hi NonText guifg=#808080 guibg=#ECECEC
|
||||
hi Folded guifg=#808080 guibg=#ECECEC gui=bold
|
||||
hi FoldeColumn guifg=#808080 guibg=#ECECEC gui=bold
|
||||
|
||||
hi VertSplit guibg=#bbbbbb guifg=#bbbbbb gui=none
|
||||
hi StatusLine guibg=#bbbbbb guifg=#404040 gui=bold
|
||||
hi StatusLineNC guibg=#d4d4d4 guifg=#404040 gui=italic
|
||||
" }}}
|
||||
|
||||
" {{{ Misc
|
||||
hi ModeMsg guifg=#990000
|
||||
hi MoreMsg guifg=#990000
|
||||
|
||||
hi Title guifg=#ef5939
|
||||
hi WarningMsg guifg=#ef5939
|
||||
hi SpecialKey guifg=#177F80 gui=italic
|
||||
|
||||
hi MatchParen guibg=#cdcdfd guifg=#000000
|
||||
hi Underlined guifg=#000000 gui=underline
|
||||
hi Directory guifg=#990000
|
||||
" }}}
|
||||
|
||||
" {{{ Search, Visual, etc
|
||||
hi Visual guifg=#FFFFFF guibg=#3465a4 gui=none
|
||||
hi VisualNOS guifg=#FFFFFF guibg=#204a87 gui=none
|
||||
hi IncSearch guibg=#cdcdfd guifg=#000000 gui=italic
|
||||
hi Search guibg=#cdcdfd guifg=#000000 gui=italic
|
||||
" }}}
|
||||
|
||||
" {{{ Syntax groups
|
||||
hi Ignore guifg=#808080
|
||||
hi Identifier guifg=#0086B3
|
||||
hi PreProc guifg=#A0A0A0 gui=bold
|
||||
hi Comment guifg=#999988
|
||||
hi Constant guifg=#177F80 gui=none
|
||||
hi String guifg=#D81745
|
||||
hi Function guifg=#990000 gui=bold
|
||||
hi Statement guifg=#000000 gui=bold
|
||||
hi Type guifg=#445588 gui=bold
|
||||
hi Number guifg=#1C9898
|
||||
hi Todo guifg=#FFFFFF guibg=#990000 gui=bold
|
||||
hi Special guifg=#159828 gui=bold
|
||||
hi rubySymbol guifg=#960B73
|
||||
hi Error guibg=#f8f8ff guifg=#ff1100 gui=undercurl
|
||||
hi Todo guibg=#f8f8ff guifg=#ff1100 gui=underline
|
||||
hi Label guifg=#000000 gui=bold
|
||||
hi StorageClass guifg=#000000 gui=bold
|
||||
hi Structure guifg=#000000 gui=bold
|
||||
hi TypeDef guifg=#000000 gui=bold
|
||||
" }}}
|
||||
|
||||
" {{{ Completion menus
|
||||
hi WildMenu guifg=#7fbdff guibg=#425c78 gui=none
|
||||
|
||||
hi Pmenu guibg=#808080 guifg=#ffffff gui=bold
|
||||
hi PmenuSel guibg=#cdcdfd guifg=#000000 gui=italic
|
||||
hi PmenuSbar guibg=#000000 guifg=#444444
|
||||
hi PmenuThumb guibg=#aaaaaa guifg=#aaaaaa
|
||||
" }}}
|
||||
|
||||
" {{{ Spelling
|
||||
hi spellBad guisp=#fcaf3e
|
||||
hi spellCap guisp=#73d216
|
||||
hi spellRare guisp=#fcaf3e
|
||||
hi spellLocal guisp=#729fcf
|
||||
" }}}
|
||||
|
||||
" {{{ Aliases
|
||||
hi link cppSTL Function
|
||||
hi link cppSTLType Type
|
||||
hi link Character Number
|
||||
hi link htmlTag htmlEndTag
|
||||
"hi link htmlTagName htmlTag
|
||||
hi link htmlLink Underlined
|
||||
hi link pythonFunction Identifier
|
||||
hi link Question Type
|
||||
hi link CursorIM Cursor
|
||||
hi link VisualNOS Visual
|
||||
hi link xmlTag Identifier
|
||||
hi link xmlTagName Identifier
|
||||
hi link shDeref Identifier
|
||||
hi link shVariable Function
|
||||
hi link rubySharpBang Special
|
||||
hi link perlSharpBang Special
|
||||
hi link schemeFunc Statement
|
||||
"hi link shSpecialVariables Constant
|
||||
"hi link bashSpecialVariables Constant
|
||||
" }}}
|
||||
|
||||
" {{{ Tabs (non-gui0
|
||||
hi TabLine guifg=#404040 guibg=#dddddd gui=none
|
||||
hi TabLineFill guifg=#404040 guibg=#dddddd gui=none
|
||||
hi TabLineSel guifg=#404040 gui=bold
|
||||
" }}}
|
||||
"
|
||||
" vim: sw=4 ts=4 foldmethod=marker
|
||||
@@ -0,0 +1,32 @@
|
||||
" Based on
|
||||
runtime colors/ir_black.vim
|
||||
|
||||
let g:colors_name = "grb256"
|
||||
|
||||
hi pythonSpaceError ctermbg=red guibg=red
|
||||
|
||||
hi Comment ctermfg=darkgray
|
||||
|
||||
hi StatusLine ctermbg=darkgrey ctermfg=white
|
||||
hi StatusLineNC ctermbg=black ctermfg=lightgrey
|
||||
hi VertSplit ctermbg=black ctermfg=lightgrey
|
||||
hi LineNr ctermfg=darkgray
|
||||
hi CursorLine guifg=NONE guibg=#121212 gui=NONE ctermfg=NONE ctermbg=234
|
||||
hi Function guifg=#FFD2A7 guibg=NONE gui=NONE ctermfg=yellow ctermbg=NONE cterm=NONE
|
||||
hi Visual guifg=NONE guibg=#262D51 gui=NONE ctermfg=NONE ctermbg=236 cterm=NONE
|
||||
|
||||
hi Error guifg=NONE guibg=NONE gui=undercurl ctermfg=16 ctermbg=red cterm=NONE guisp=#FF6C60 " undercurl color
|
||||
hi ErrorMsg guifg=white guibg=#FF6C60 gui=BOLD ctermfg=16 ctermbg=red cterm=NONE
|
||||
hi WarningMsg guifg=white guibg=#FF6C60 gui=BOLD ctermfg=16 ctermbg=red cterm=NONE
|
||||
hi SpellBad guifg=white guibg=#FF6C60 gui=BOLD ctermfg=16 ctermbg=160 cterm=NONE
|
||||
|
||||
" ir_black doesn't highlight operators for some reason
|
||||
hi Operator guifg=#6699CC guibg=NONE gui=NONE ctermfg=lightblue ctermbg=NONE cterm=NONE
|
||||
|
||||
highlight DiffAdd term=reverse cterm=bold ctermbg=lightgreen ctermfg=16
|
||||
highlight DiffChange term=reverse cterm=bold ctermbg=lightblue ctermfg=16
|
||||
highlight DiffText term=reverse cterm=bold ctermbg=lightgray ctermfg=16
|
||||
highlight DiffDelete term=reverse cterm=bold ctermbg=lightred ctermfg=16
|
||||
|
||||
highlight PmenuSel ctermfg=16 ctermbg=156
|
||||
|
||||
@@ -0,0 +1,103 @@
|
||||
" Vim color file
|
||||
" Maintainer: Anders Korte <anderskorte@eml.cc>
|
||||
" Last Change: 6 Apr 2005
|
||||
|
||||
" Guardian color scheme 1.2
|
||||
|
||||
" Rich-syntax colors for source editing and other vimming.
|
||||
|
||||
set background=dark
|
||||
hi clear
|
||||
syntax reset
|
||||
|
||||
" Colors for the User Interface.
|
||||
|
||||
hi Cursor guibg=#cc4455 guifg=white gui=bold ctermbg=4 ctermfg=15
|
||||
hi link CursorIM Cursor
|
||||
hi Normal guibg=#332211 guifg=white gui=none ctermbg=0 ctermfg=15
|
||||
hi NonText guibg=#445566 guifg=#ffeecc gui=bold ctermbg=8 ctermfg=14
|
||||
hi Visual guibg=#557799 guifg=white gui=none ctermbg=9 ctermfg=15
|
||||
|
||||
hi Linenr guibg=bg guifg=#aaaaaa gui=none ctermbg=bg ctermfg=7
|
||||
|
||||
hi Directory guibg=bg guifg=#337700 gui=none ctermbg=bg ctermfg=10
|
||||
|
||||
hi IncSearch guibg=#0066cc guifg=white gui=none ctermbg=1 ctermfg=15
|
||||
hi link Seach IncSearch
|
||||
|
||||
hi SpecialKey guibg=bg guifg=fg gui=none ctermbg=bg ctermfg=fg
|
||||
hi Titled guibg=bg guifg=fg gui=none ctermbg=bg ctermfg=fg
|
||||
|
||||
hi ErrorMsg guibg=bg guifg=#ff0000 gui=bold ctermbg=bg ctermfg=12
|
||||
hi ModeMsg guibg=bg guifg=#ffeecc gui=none ctermbg=bg ctermfg=14
|
||||
hi link MoreMsg ModeMsg
|
||||
hi Question guibg=bg guifg=#ccffcc gui=bold ctermbg=bg ctermfg=10
|
||||
hi link WarningMsg ErrorMsg
|
||||
|
||||
hi StatusLine guibg=#ffeecc guifg=black gui=bold ctermbg=14 ctermfg=0
|
||||
hi StatusLineNC guibg=#cc4455 guifg=white gui=none ctermbg=4 ctermfg=11
|
||||
hi VertSplit guibg=#cc4455 guifg=white gui=none ctermbg=4 ctermfg=11
|
||||
|
||||
hi DiffAdd guibg=#446688 guifg=fg gui=none ctermbg=1 ctermfg=fg
|
||||
hi DiffChange guibg=#558855 guifg=fg gui=none ctermbg=2 ctermfg=fg
|
||||
hi DiffDelete guibg=#884444 guifg=fg gui=none ctermbg=4 ctermfg=fg
|
||||
hi DiffText guibg=#884444 guifg=fg gui=bold ctermbg=4 ctermfg=fg
|
||||
|
||||
" Colors for Syntax Highlighting.
|
||||
|
||||
hi Comment guibg=#334455 guifg=#dddddd gui=none ctermbg=8 ctermfg=7
|
||||
|
||||
hi Constant guibg=bg guifg=white gui=bold ctermbg=8 ctermfg=15
|
||||
hi String guibg=bg guifg=#ffffcc gui=italic ctermbg=bg ctermfg=14
|
||||
hi Character guibg=bg guifg=#ffffcc gui=bold ctermbg=bg ctermfg=14
|
||||
hi Number guibg=bg guifg=#bbddff gui=bold ctermbg=1 ctermfg=15
|
||||
hi Boolean guibg=bg guifg=#bbddff gui=none ctermbg=1 ctermfg=15
|
||||
hi Float guibg=bg guifg=#bbddff gui=bold ctermbg=1 ctermfg=15
|
||||
|
||||
hi Identifier guibg=bg guifg=#ffddaa gui=bold ctermbg=bg ctermfg=12
|
||||
hi Function guibg=bg guifg=#ffddaa gui=bold ctermbg=bg ctermfg=12
|
||||
hi Statement guibg=bg guifg=#ffffcc gui=bold ctermbg=bg ctermfg=14
|
||||
|
||||
hi Conditional guibg=bg guifg=#ff6666 gui=bold ctermbg=bg ctermfg=12
|
||||
hi Repeat guibg=bg guifg=#ff9900 gui=bold ctermbg=4 ctermfg=14
|
||||
hi Label guibg=bg guifg=#ffccff gui=bold ctermbg=bg ctermfg=13
|
||||
hi Operator guibg=bg guifg=#cc9966 gui=bold ctermbg=6 ctermfg=15
|
||||
hi Keyword guibg=bg guifg=#66ffcc gui=bold ctermbg=bg ctermfg=10
|
||||
hi Exception guibg=bg guifg=#66ffcc gui=bold ctermbg=bg ctermfg=10
|
||||
|
||||
hi PreProc guibg=bg guifg=#ffcc99 gui=bold ctermbg=4 ctermfg=14
|
||||
hi Include guibg=bg guifg=#99cc99 gui=bold ctermbg=bg ctermfg=10
|
||||
hi link Define Include
|
||||
hi link Macro Include
|
||||
hi link PreCondit Include
|
||||
|
||||
hi Type guibg=bg guifg=#ff7788 gui=bold ctermbg=bg ctermfg=12
|
||||
hi StorageClass guibg=bg guifg=#99cc99 gui=bold ctermbg=bg ctermfg=10
|
||||
hi Structure guibg=bg guifg=#99ff99 gui=bold ctermbg=bg ctermfg=10
|
||||
hi Typedef guibg=bg guifg=#99cc99 gui=italic ctermbg=bg ctermfg=10
|
||||
|
||||
hi Special guibg=bg guifg=#bbddff gui=bold ctermbg=1 ctermfg=15
|
||||
hi SpecialChar guibg=bg guifg=#bbddff gui=bold ctermbg=1 ctermfg=15
|
||||
hi Tag guibg=bg guifg=#bbddff gui=bold ctermbg=1 ctermfg=15
|
||||
hi Delimiter guibg=bg guifg=fg gui=bold ctermbg=1 ctermfg=fg
|
||||
hi SpecialComment guibg=#334455 guifg=#dddddd gui=italic ctermbg=1 ctermfg=15
|
||||
hi Debug guibg=bg guifg=#ff9999 gui=none ctermbg=8 ctermfg=12
|
||||
|
||||
hi Underlined guibg=bg guifg=#99ccff gui=underline ctermbg=bg ctermfg=9 cterm=underline
|
||||
|
||||
hi Title guibg=#445566 guifg=white gui=bold ctermbg=1 ctermfg=15
|
||||
hi Ignore guibg=bg guifg=#cccccc gui=italic ctermbg=bg ctermfg=8
|
||||
hi Error guibg=#ff0000 guifg=white gui=bold ctermbg=12 ctermfg=15
|
||||
hi Todo guibg=#556677 guifg=#ff0000 gui=bold ctermbg=1 ctermfg=12
|
||||
|
||||
hi htmlH2 guibg=bg guifg=fg gui=bold ctermbg=8 ctermfg=fg
|
||||
hi link htmlH3 htmlH2
|
||||
hi link htmlH4 htmlH3
|
||||
hi link htmlH5 htmlH4
|
||||
hi link htmlH6 htmlH5
|
||||
|
||||
" And finally.
|
||||
|
||||
let g:colors_name = "Guardian"
|
||||
let colors_name = "Guardian"
|
||||
|
||||
@@ -0,0 +1,215 @@
|
||||
" hemisu.vim - Vim color scheme
|
||||
" ----------------------------------------------------------
|
||||
" Author: Noah Frederick (http://noahfrederick.com/)
|
||||
" Version: 3.4
|
||||
" License: Creative Commons Attribution-NonCommercial
|
||||
" 3.0 Unported License (see README.md)
|
||||
" ----------------------------------------------------------
|
||||
|
||||
" Setup ----------------------------------------------------{{{
|
||||
" Reset syntax highlighting
|
||||
hi clear
|
||||
if exists("syntax_on")
|
||||
syntax reset
|
||||
endif
|
||||
|
||||
" Declare theme name
|
||||
let g:colors_name="hemisu"
|
||||
|
||||
"}}}
|
||||
" The Colors -----------------------------------------------{{{
|
||||
" Define reusable colors
|
||||
let s:black= { "gui": "#000000", "cterm": "16" }
|
||||
let s:white= { "gui": "#FFFFFF", "cterm": "231" }
|
||||
let s:almostWhite= { "gui": "#EEEEEE", "cterm": "255" }
|
||||
let s:almostBlack= { "gui": "#111111", "cterm": "233" }
|
||||
let s:middleDarkGrey= { "gui": "#777777", "cterm": "241" }
|
||||
let s:middleLightGrey= { "gui": "#999999", "cterm": "246" }
|
||||
let s:lightGrey= { "gui": "#BBBBBB", "cterm": "249" }
|
||||
let s:darkGrey= { "gui": "#444444", "cterm": "238" }
|
||||
|
||||
let s:darkPink= { "gui": "#63001C", "cterm": "88" }
|
||||
let s:middleDarkPink= { "gui": "#FF0055", "cterm": "197" }
|
||||
let s:middleLightPink= { "gui": "#D65E76", "cterm": "167" }
|
||||
let s:lightPink= { "gui": "#FFAFAF", "cterm": "217" }
|
||||
|
||||
let s:darkBlue= { "gui": "#005F87", "cterm": "24" }
|
||||
let s:middleDarkBlue= { "gui": "#538192", "cterm": "24" }
|
||||
let s:middleLightBlue= { "gui": "#9FD3E6", "cterm": "116" }
|
||||
let s:lightBlue= { "gui": "#CBE4EE", "cterm": "195" }
|
||||
|
||||
let s:darkGreen= { "gui": "#5F5F00", "cterm": "58" }
|
||||
let s:middleDarkGreen= { "gui": "#739200", "cterm": "64" }
|
||||
let s:middleLightGreen={ "gui": "#B1D631", "cterm": "149" }
|
||||
let s:lightGreen= { "gui": "#BBFFAA", "cterm": "157" }
|
||||
|
||||
let s:darkTan= { "gui": "#503D15", "cterm": "52" }
|
||||
let s:lightTan= { "gui": "#ECE1C8", "cterm": "230" }
|
||||
|
||||
" Assign to semantic categories based on background color
|
||||
if &background=="dark"
|
||||
" Dark theme
|
||||
let s:bg=s:black
|
||||
let s:norm=s:almostWhite
|
||||
let s:comment=s:middleDarkGrey
|
||||
let s:dimmed=s:middleLightGrey
|
||||
let s:subtle=s:darkGrey
|
||||
let s:faint=s:almostBlack
|
||||
let s:accent1=s:middleLightBlue
|
||||
let s:accent2=s:middleLightGreen
|
||||
let s:accent3=s:lightGreen
|
||||
let s:accent4=s:lightTan
|
||||
let s:normRed=s:middleLightPink
|
||||
let s:normGreen=s:middleLightGreen
|
||||
let s:normBlue=s:middleLightBlue
|
||||
let s:faintRed=s:darkPink
|
||||
let s:faintGreen=s:darkGreen
|
||||
let s:faintBlue=s:darkBlue
|
||||
else
|
||||
" Light theme
|
||||
let s:bg=s:white
|
||||
let s:norm=s:almostBlack
|
||||
let s:comment=s:middleLightGrey
|
||||
let s:dimmed=s:middleDarkGrey
|
||||
let s:subtle=s:lightGrey
|
||||
let s:faint=s:almostWhite
|
||||
let s:accent1=s:middleDarkBlue
|
||||
let s:accent2=s:middleDarkGreen
|
||||
let s:accent3=s:middleDarkPink
|
||||
let s:accent4=s:darkTan
|
||||
let s:normRed=s:middleDarkPink
|
||||
let s:normGreen=s:middleDarkGreen
|
||||
let s:normBlue=s:middleDarkBlue
|
||||
let s:faintRed=s:lightPink
|
||||
let s:faintGreen=s:lightGreen
|
||||
let s:faintBlue=s:lightBlue
|
||||
endif
|
||||
|
||||
"}}}
|
||||
" Utilility Function ---------------------------------------{{{
|
||||
function! s:h(group, style)
|
||||
execute "highlight" a:group
|
||||
\ "guifg=" (has_key(a:style, "fg") ? a:style.fg.gui : "NONE")
|
||||
\ "guibg=" (has_key(a:style, "bg") ? a:style.bg.gui : "NONE")
|
||||
\ "guisp=" (has_key(a:style, "sp") ? a:style.sp.gui : "NONE")
|
||||
\ "gui=" (has_key(a:style, "gui") ? a:style.gui : "NONE")
|
||||
\ "ctermfg=" (has_key(a:style, "fg") ? a:style.fg.cterm : "NONE")
|
||||
\ "ctermbg=" (has_key(a:style, "bg") ? a:style.bg.cterm : "NONE")
|
||||
\ "cterm=" (has_key(a:style, "cterm") ? a:style.cterm : "NONE")
|
||||
endfunction
|
||||
|
||||
"}}}
|
||||
" Highlights - Vim >= 7 ------------------------------------{{{
|
||||
if version >= 700
|
||||
call s:h("CursorLine", { "bg": s:faint })
|
||||
call s:h("MatchParen", { "fg": s:accent1, "bg": s:faint, "gui": "bold" })
|
||||
call s:h("Pmenu", { "bg": s:faint })
|
||||
call s:h("PmenuThumb", { "bg": s:norm })
|
||||
call s:h("PmenuSBar", { "bg": s:subtle })
|
||||
call s:h("PmenuSel", { "bg": s:faintBlue })
|
||||
call s:h("ColorColumn", { "bg": s:faintRed })
|
||||
call s:h("SpellBad", { "sp": s:normRed, "gui": "undercurl" })
|
||||
call s:h("SpellCap", { "sp": s:accent1, "gui": "undercurl" })
|
||||
call s:h("SpellRare", { "sp": s:normGreen, "gui": "undercurl" })
|
||||
call s:h("SpellLocal", { "sp": s:accent4, "gui": "undercurl" })
|
||||
hi! link CursorColumn CursorLine
|
||||
|
||||
" Use background for cterm Spell*, which does not support undercurl
|
||||
execute "hi! SpellBad ctermbg=" s:faintRed.cterm
|
||||
execute "hi! SpellCap ctermbg=" s:faintBlue.cterm
|
||||
execute "hi! SpellRare ctermbg=" s:faintGreen.cterm
|
||||
execute "hi! SpellLocal ctermbg=" s:faint.cterm
|
||||
endif
|
||||
|
||||
"}}}
|
||||
" Highlights - UI ------------------------------------------{{{
|
||||
call s:h("Normal", { "fg": s:norm, "bg": s:bg })
|
||||
call s:h("NonText", { "fg": s:subtle })
|
||||
call s:h("Cursor", { "fg": s:bg, "bg": s:accent3 })
|
||||
call s:h("Visual", { "bg": s:faintBlue })
|
||||
call s:h("IncSearch", { "bg": s:faintBlue })
|
||||
call s:h("Search", { "bg": s:faintGreen })
|
||||
call s:h("StatusLine", { "fg": s:norm, "bg": s:faint, "gui": "bold", "cterm": "bold" })
|
||||
call s:h("StatusLineNC", { "fg": s:dimmed, "bg": s:faint })
|
||||
call s:h("SignColumn", { "fg": s:norm })
|
||||
call s:h("VertSplit", { "fg": s:subtle, "bg": s:faint })
|
||||
call s:h("TabLine", { "fg": s:dimmed, "bg": s:faint })
|
||||
call s:h("TabLineSel", { "gui": "bold", "cterm": "bold" })
|
||||
call s:h("Folded", { "fg": s:comment, "bg": s:faint })
|
||||
call s:h("Directory", { "fg": s:accent1 })
|
||||
call s:h("Title", { "fg": s:accent4, "gui": "bold", "cterm": "bold" })
|
||||
call s:h("ErrorMsg", { "bg": s:faintRed })
|
||||
call s:h("DiffAdd", { "bg": s:faintGreen })
|
||||
call s:h("DiffChange", { "bg": s:faintRed })
|
||||
call s:h("DiffDelete", { "fg": s:normRed, "bg": s:faintRed })
|
||||
call s:h("DiffText", { "bg": s:faintRed, "gui": "bold", "cterm": "bold" })
|
||||
call s:h("User1", { "fg": s:bg, "bg": s:normGreen })
|
||||
call s:h("User2", { "fg": s:bg, "bg": s:normRed })
|
||||
call s:h("User3", { "fg": s:bg, "bg": s:normBlue })
|
||||
hi! link WildMenu IncSearch
|
||||
hi! link FoldColumn SignColumn
|
||||
hi! link WarningMsg ErrorMsg
|
||||
hi! link MoreMsg Title
|
||||
hi! link Question MoreMsg
|
||||
hi! link ModeMsg MoreMsg
|
||||
hi! link TabLineFill StatusLineNC
|
||||
hi! link LineNr NonText
|
||||
hi! link SpecialKey NonText
|
||||
|
||||
"}}}
|
||||
" Highlights - Generic Syntax ------------------------------{{{
|
||||
call s:h("Delimiter", { "fg": s:dimmed })
|
||||
call s:h("Comment", { "fg": s:comment, "gui": "italic" })
|
||||
call s:h("Underlined", { "fg": s:accent1, "gui": "underline", "cterm": "underline" })
|
||||
call s:h("Type", { "fg": s:accent3 })
|
||||
call s:h("String", { "fg": s:accent2 })
|
||||
call s:h("Keyword", { "fg": s:accent2, "gui": "bold", "cterm": "bold" })
|
||||
call s:h("Todo", { "fg": s:normRed, "gui": "bold", "cterm": "bold" })
|
||||
call s:h("Function", { "gui": "bold", "cterm": "bold" })
|
||||
hi! link Identifier Function
|
||||
hi! link Statement Type
|
||||
hi! link Constant Directory
|
||||
hi! link Number Constant
|
||||
hi! link Special Constant
|
||||
hi! link PreProc Constant
|
||||
hi! link Error ErrorMsg
|
||||
|
||||
"}}}
|
||||
" Highlights - HTML ----------------------------------------{{{
|
||||
hi! link htmlLink Underlined
|
||||
hi! link htmlTag Type
|
||||
hi! link htmlEndTag htmlTag
|
||||
|
||||
"}}}
|
||||
" Highlights - CSS -----------------------------------------{{{
|
||||
hi! link cssBraces Delimiter
|
||||
hi! link cssSelectorOp cssBraces
|
||||
hi! link cssClassName Normal
|
||||
|
||||
"}}}
|
||||
" Highlights - Markdown ------------------------------------{{{
|
||||
hi! link mkdListItem mkdDelimiter
|
||||
|
||||
"}}}
|
||||
" Highlights - Shell ---------------------------------------{{{
|
||||
hi! link shOperator Delimiter
|
||||
hi! link shCaseBar Delimiter
|
||||
|
||||
"}}}
|
||||
" Highlights - JavaScript ----------------------------------{{{
|
||||
hi! link javaScriptValue Constant
|
||||
hi! link javaScriptNull Constant
|
||||
hi! link javaScriptBraces Normal
|
||||
|
||||
"}}}
|
||||
" Highlights - Help ----------------------------------------{{{
|
||||
hi! link helpExample String
|
||||
hi! link helpHeadline Title
|
||||
hi! link helpSectionDelim Comment
|
||||
hi! link helpHyperTextEntry Statement
|
||||
hi! link helpHyperTextJump Underlined
|
||||
hi! link helpURL Underlined
|
||||
|
||||
"}}}
|
||||
|
||||
" vim: fdm=marker
|
||||
@@ -0,0 +1,196 @@
|
||||
" Vim color file
|
||||
"
|
||||
" Author: Tomas Restrepo <tomas@winterdom.com>
|
||||
"
|
||||
" Note: Based on the monokai theme for textmate
|
||||
" by Wimer Hazenberg and its darker variant
|
||||
" by Hamish Stuart Macpherson
|
||||
" by Chang Yu-Heng <mr.changyuheng@gmail.com>
|
||||
|
||||
hi clear
|
||||
|
||||
set background=dark
|
||||
if version > 580
|
||||
" no guarantees for version 5.8 and below, but this makes it stop
|
||||
" complaining
|
||||
hi clear
|
||||
if exists("syntax_on")
|
||||
syntax reset
|
||||
endif
|
||||
endif
|
||||
let g:colors_name="holokai"
|
||||
|
||||
hi Normal guifg=#bcbcbc guibg=#000000
|
||||
hi Comment guifg=#808080
|
||||
hi CursorLine guibg=#1c1c1c gui=none
|
||||
hi CursorColumn guibg=#1c1c1c
|
||||
hi ColorColumn guibg=#1c1c1c
|
||||
hi LineNr guifg=#bcbcbc guibg=#1c1c1c
|
||||
hi NonText guifg=#808080
|
||||
hi SpecialKey guifg=#808080
|
||||
|
||||
hi Boolean guifg=#af87ff
|
||||
hi Character guifg=#afaf5f
|
||||
hi Number guifg=#af87ff
|
||||
hi String guifg=#afaf5f
|
||||
hi Conditional guifg=#d7d700 gui=bold
|
||||
hi Constant guifg=#af87ff gui=bold
|
||||
hi Cursor guifg=#000000 guibg=#dadada
|
||||
hi Debug guifg=#ffd7ff gui=bold
|
||||
hi Define guifg=#5fd7ff
|
||||
hi Delimiter guifg=#626262
|
||||
hi DiffAdd guibg=#005f87
|
||||
hi DiffChange guifg=#d7afaf guibg=#3a3a3a
|
||||
hi DiffDelete guifg=#d70087 guibg=#5f005f
|
||||
hi DiffText guibg=#5f0000 gui=italic,bold
|
||||
|
||||
hi Directory guifg=#87d700 gui=bold
|
||||
hi Error guifg=#ffafff guibg=#87005f
|
||||
hi ErrorMsg guifg=#ff00af gui=bold
|
||||
hi Exception guifg=#87d700 gui=bold
|
||||
hi Float guifg=#af87ff
|
||||
hi FoldColumn guifg=#5f87af guibg=#000000
|
||||
hi Folded guifg=#5f87af guibg=#000000
|
||||
hi Function guifg=#87d700
|
||||
hi Identifier guifg=#87d700 gui=none
|
||||
hi Ignore guifg=#808080 guibg=#080808
|
||||
hi IncSearch guifg=#5fd7ff
|
||||
|
||||
hi Keyword guifg=#d7d700 gui=bold
|
||||
hi Label guifg=#d7d700 gui=none
|
||||
hi Macro guifg=#5fd7ff gui=italic
|
||||
|
||||
hi MatchParen guifg=#000000 guibg=#ff8700 gui=bold
|
||||
hi ModeMsg guifg=#d7d700
|
||||
hi MoreMsg guifg=#d7d700
|
||||
hi Operator guifg=#d7d700
|
||||
|
||||
" complete menu
|
||||
hi Pmenu guifg=#5fd7ff
|
||||
hi PmenuSel guibg=#ffd7d7
|
||||
hi PmenuSbar guibg=#080808
|
||||
hi PmenuThumb guifg=#5fd7ff
|
||||
|
||||
hi PreCondit guifg=#d7d700 gui=bold
|
||||
hi PreProc guifg=#5fd7ff
|
||||
hi Question guifg=#5fd7ff
|
||||
hi Repeat guifg=#d7d700 gui=bold
|
||||
hi Search guifg=#dadada guibg=#5f8787
|
||||
|
||||
" marks column
|
||||
hi SignColumn guifg=#87d700 guibg=#262626
|
||||
hi SpecialChar guifg=#af87ff gui=bold
|
||||
hi SpecialComment guifg=#808080 gui=bold
|
||||
hi Special guifg=#5fd7ff guibg=#080808 gui=italic
|
||||
if has("spell")
|
||||
hi SpellBad guisp=#FF0000 gui=undercurl
|
||||
hi SpellCap guisp=#7070F0 gui=undercurl
|
||||
hi SpellLocal guisp=#70F0F0 gui=undercurl
|
||||
hi SpellRare guisp=#FFFFFF gui=undercurl
|
||||
endif
|
||||
hi Statement guifg=#d7d700 gui=bold
|
||||
hi StatusLine guifg=#444444 guibg=#dadada
|
||||
hi StatusLineNC guifg=#808080 guibg=#080808
|
||||
hi StorageClass guifg=#87d700 gui=italic
|
||||
hi Structure guifg=#5fd7ff
|
||||
hi Tag guifg=#d7d700 gui=italic
|
||||
hi Title guifg=#d75f00
|
||||
hi Todo guifg=#ffffff guibg=#080808 gui=bold
|
||||
|
||||
hi Typedef guifg=#87d700
|
||||
hi Type guifg=#87d700 gui=none
|
||||
hi Underlined guifg=#808080 gui=underline
|
||||
|
||||
hi VertSplit guifg=#808080 guibg=#080808 gui=bold
|
||||
hi VisualNOS guibg=#444444
|
||||
hi Visual guibg=#00005f
|
||||
hi WarningMsg guifg=#ffffff guibg=#444444 gui=bold
|
||||
hi WildMenu guifg=#5fd7ff
|
||||
|
||||
"
|
||||
" Support for 256-color terminal
|
||||
"
|
||||
if &t_Co > 255
|
||||
hi Normal ctermfg=250
|
||||
hi CursorLine ctermbg=234 cterm=none
|
||||
hi Boolean ctermfg=141
|
||||
hi Character ctermfg=143
|
||||
hi Number ctermfg=141
|
||||
hi String ctermfg=143
|
||||
hi Conditional ctermfg=184 cterm=bold
|
||||
hi Constant ctermfg=141 cterm=bold
|
||||
hi Cursor ctermfg=16 ctermbg=253
|
||||
hi Debug ctermfg=225 cterm=bold
|
||||
hi Define ctermfg=81
|
||||
hi Delimiter ctermfg=241
|
||||
|
||||
hi DiffAdd ctermbg=24
|
||||
hi DiffChange ctermfg=181 ctermbg=237
|
||||
hi DiffDelete ctermfg=162 ctermbg=53
|
||||
hi DiffText ctermbg=52 cterm=bold
|
||||
|
||||
hi Directory ctermfg=112 cterm=bold
|
||||
hi Error ctermfg=219 ctermbg=89
|
||||
hi ErrorMsg ctermfg=199 cterm=bold
|
||||
hi Exception ctermfg=112 cterm=bold
|
||||
hi Float ctermfg=141
|
||||
hi FoldColumn ctermfg=67 ctermbg=16
|
||||
hi Folded ctermfg=67 ctermbg=16
|
||||
hi Function ctermfg=112
|
||||
hi Identifier ctermfg=112 cterm=none
|
||||
hi Ignore ctermfg=244 ctermbg=232
|
||||
hi IncSearch ctermfg=81
|
||||
|
||||
hi Keyword ctermfg=184 cterm=bold
|
||||
hi Label ctermfg=184 cterm=none
|
||||
hi Macro ctermfg=81
|
||||
|
||||
hi MatchParen ctermfg=16 ctermbg=208 cterm=bold
|
||||
hi ModeMsg ctermfg=184
|
||||
hi MoreMsg ctermfg=184
|
||||
hi Operator ctermfg=184
|
||||
|
||||
" complete menu
|
||||
hi Pmenu ctermfg=81
|
||||
hi PmenuSel ctermbg=244
|
||||
hi PmenuSbar ctermbg=232
|
||||
hi PmenuThumb ctermfg=81
|
||||
|
||||
hi PreCondit ctermfg=184 cterm=bold
|
||||
hi PreProc ctermfg=81
|
||||
hi Question ctermfg=81
|
||||
hi Repeat ctermfg=184 cterm=bold
|
||||
hi Search ctermfg=253 ctermbg=66
|
||||
|
||||
" marks column
|
||||
hi SignColumn ctermfg=112 ctermbg=235
|
||||
hi SpecialChar ctermfg=141
|
||||
hi SpecialComment ctermfg=244 cterm=bold
|
||||
hi Special ctermfg=81 ctermbg=232
|
||||
|
||||
hi Statement ctermfg=184 cterm=bold
|
||||
hi StatusLine ctermfg=238 ctermbg=253
|
||||
hi StatusLineNC ctermfg=244 ctermbg=232
|
||||
hi StorageClass ctermfg=112
|
||||
hi Structure ctermfg=81
|
||||
hi Tag ctermfg=184
|
||||
hi Title ctermfg=166
|
||||
hi Todo ctermfg=231 ctermbg=232 cterm=bold
|
||||
|
||||
hi Typedef ctermfg=112
|
||||
hi Type ctermfg=112 cterm=none
|
||||
hi Underlined ctermfg=244 cterm=underline
|
||||
|
||||
hi VertSplit ctermfg=244 ctermbg=232 cterm=bold
|
||||
hi VisualNOS ctermbg=238
|
||||
hi Visual ctermbg=17
|
||||
hi WarningMsg ctermfg=231 ctermbg=238 cterm=bold
|
||||
hi WildMenu ctermfg=81
|
||||
|
||||
hi Comment ctermfg=244
|
||||
hi CursorColumn ctermbg=234
|
||||
hi ColorColumn ctermbg=234
|
||||
hi LineNr ctermfg=250 ctermbg=234
|
||||
hi NonText ctermfg=244
|
||||
hi SpecialKey ctermfg=244
|
||||
end
|
||||
@@ -0,0 +1,491 @@
|
||||
" Vim color file
|
||||
"
|
||||
" " __ _ _ _ "
|
||||
" " \ \ ___| | |_ _| |__ ___ __ _ _ __ ___ "
|
||||
" " \ \/ _ \ | | | | | _ \ / _ \/ _ | _ \/ __| "
|
||||
" " /\_/ / __/ | | |_| | |_| | __/ |_| | | | \__ \ "
|
||||
" " \___/ \___|_|_|\__ |____/ \___|\____|_| |_|___/ "
|
||||
" " \___/ "
|
||||
"
|
||||
" "A colorful, dark color scheme for Vim."
|
||||
"
|
||||
" File: jellybeans.vim
|
||||
" Maintainer: NanoTech <http://nanotech.nanotechcorp.net/>
|
||||
" Version: 1.5
|
||||
" Last Change: January 15th, 2012
|
||||
" Contributors: Daniel Herbert <http://pocket-ninja.com/>,
|
||||
" Henry So, Jr. <henryso@panix.com>,
|
||||
" David Liang <bmdavll at gmail dot com>,
|
||||
" Rich Healey (richoH),
|
||||
" Andrew Wong (w0ng)
|
||||
"
|
||||
" Copyright (c) 2009-2012 NanoTech
|
||||
"
|
||||
" Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
" of this software and associated documentation files (the "Software"), to deal
|
||||
" in the Software without restriction, including without limitation the rights
|
||||
" to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
" copies of the Software, and to permit persons to whom the Software is
|
||||
" furnished to do so, subject to the following conditions:
|
||||
"
|
||||
" The above copyright notice and this permission notice shall be included in
|
||||
" all copies or substantial portions of the Software.
|
||||
"
|
||||
" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
" IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
" FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
" AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
" LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
" OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
" THE SOFTWARE.
|
||||
|
||||
set background=dark
|
||||
|
||||
hi clear
|
||||
|
||||
if exists("syntax_on")
|
||||
syntax reset
|
||||
endif
|
||||
|
||||
let colors_name = "jellybeans"
|
||||
|
||||
if has("gui_running") || &t_Co == 88 || &t_Co == 256
|
||||
let s:low_color = 0
|
||||
else
|
||||
let s:low_color = 1
|
||||
endif
|
||||
|
||||
" Color approximation functions by Henry So, Jr. and David Liang {{{
|
||||
" Added to jellybeans.vim by Daniel Herbert
|
||||
|
||||
" returns an approximate grey index for the given grey level
|
||||
fun! s:grey_number(x)
|
||||
if &t_Co == 88
|
||||
if a:x < 23
|
||||
return 0
|
||||
elseif a:x < 69
|
||||
return 1
|
||||
elseif a:x < 103
|
||||
return 2
|
||||
elseif a:x < 127
|
||||
return 3
|
||||
elseif a:x < 150
|
||||
return 4
|
||||
elseif a:x < 173
|
||||
return 5
|
||||
elseif a:x < 196
|
||||
return 6
|
||||
elseif a:x < 219
|
||||
return 7
|
||||
elseif a:x < 243
|
||||
return 8
|
||||
else
|
||||
return 9
|
||||
endif
|
||||
else
|
||||
if a:x < 14
|
||||
return 0
|
||||
else
|
||||
let l:n = (a:x - 8) / 10
|
||||
let l:m = (a:x - 8) % 10
|
||||
if l:m < 5
|
||||
return l:n
|
||||
else
|
||||
return l:n + 1
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
endfun
|
||||
|
||||
" returns the actual grey level represented by the grey index
|
||||
fun! s:grey_level(n)
|
||||
if &t_Co == 88
|
||||
if a:n == 0
|
||||
return 0
|
||||
elseif a:n == 1
|
||||
return 46
|
||||
elseif a:n == 2
|
||||
return 92
|
||||
elseif a:n == 3
|
||||
return 115
|
||||
elseif a:n == 4
|
||||
return 139
|
||||
elseif a:n == 5
|
||||
return 162
|
||||
elseif a:n == 6
|
||||
return 185
|
||||
elseif a:n == 7
|
||||
return 208
|
||||
elseif a:n == 8
|
||||
return 231
|
||||
else
|
||||
return 255
|
||||
endif
|
||||
else
|
||||
if a:n == 0
|
||||
return 0
|
||||
else
|
||||
return 8 + (a:n * 10)
|
||||
endif
|
||||
endif
|
||||
endfun
|
||||
|
||||
" returns the palette index for the given grey index
|
||||
fun! s:grey_color(n)
|
||||
if &t_Co == 88
|
||||
if a:n == 0
|
||||
return 16
|
||||
elseif a:n == 9
|
||||
return 79
|
||||
else
|
||||
return 79 + a:n
|
||||
endif
|
||||
else
|
||||
if a:n == 0
|
||||
return 16
|
||||
elseif a:n == 25
|
||||
return 231
|
||||
else
|
||||
return 231 + a:n
|
||||
endif
|
||||
endif
|
||||
endfun
|
||||
|
||||
" returns an approximate color index for the given color level
|
||||
fun! s:rgb_number(x)
|
||||
if &t_Co == 88
|
||||
if a:x < 69
|
||||
return 0
|
||||
elseif a:x < 172
|
||||
return 1
|
||||
elseif a:x < 230
|
||||
return 2
|
||||
else
|
||||
return 3
|
||||
endif
|
||||
else
|
||||
if a:x < 75
|
||||
return 0
|
||||
else
|
||||
let l:n = (a:x - 55) / 40
|
||||
let l:m = (a:x - 55) % 40
|
||||
if l:m < 20
|
||||
return l:n
|
||||
else
|
||||
return l:n + 1
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
endfun
|
||||
|
||||
" returns the actual color level for the given color index
|
||||
fun! s:rgb_level(n)
|
||||
if &t_Co == 88
|
||||
if a:n == 0
|
||||
return 0
|
||||
elseif a:n == 1
|
||||
return 139
|
||||
elseif a:n == 2
|
||||
return 205
|
||||
else
|
||||
return 255
|
||||
endif
|
||||
else
|
||||
if a:n == 0
|
||||
return 0
|
||||
else
|
||||
return 55 + (a:n * 40)
|
||||
endif
|
||||
endif
|
||||
endfun
|
||||
|
||||
" returns the palette index for the given R/G/B color indices
|
||||
fun! s:rgb_color(x, y, z)
|
||||
if &t_Co == 88
|
||||
return 16 + (a:x * 16) + (a:y * 4) + a:z
|
||||
else
|
||||
return 16 + (a:x * 36) + (a:y * 6) + a:z
|
||||
endif
|
||||
endfun
|
||||
|
||||
" returns the palette index to approximate the given R/G/B color levels
|
||||
fun! s:color(r, g, b)
|
||||
" get the closest grey
|
||||
let l:gx = s:grey_number(a:r)
|
||||
let l:gy = s:grey_number(a:g)
|
||||
let l:gz = s:grey_number(a:b)
|
||||
|
||||
" get the closest color
|
||||
let l:x = s:rgb_number(a:r)
|
||||
let l:y = s:rgb_number(a:g)
|
||||
let l:z = s:rgb_number(a:b)
|
||||
|
||||
if l:gx == l:gy && l:gy == l:gz
|
||||
" there are two possibilities
|
||||
let l:dgr = s:grey_level(l:gx) - a:r
|
||||
let l:dgg = s:grey_level(l:gy) - a:g
|
||||
let l:dgb = s:grey_level(l:gz) - a:b
|
||||
let l:dgrey = (l:dgr * l:dgr) + (l:dgg * l:dgg) + (l:dgb * l:dgb)
|
||||
let l:dr = s:rgb_level(l:gx) - a:r
|
||||
let l:dg = s:rgb_level(l:gy) - a:g
|
||||
let l:db = s:rgb_level(l:gz) - a:b
|
||||
let l:drgb = (l:dr * l:dr) + (l:dg * l:dg) + (l:db * l:db)
|
||||
if l:dgrey < l:drgb
|
||||
" use the grey
|
||||
return s:grey_color(l:gx)
|
||||
else
|
||||
" use the color
|
||||
return s:rgb_color(l:x, l:y, l:z)
|
||||
endif
|
||||
else
|
||||
" only one possibility
|
||||
return s:rgb_color(l:x, l:y, l:z)
|
||||
endif
|
||||
endfun
|
||||
|
||||
" returns the palette index to approximate the 'rrggbb' hex string
|
||||
fun! s:rgb(rgb)
|
||||
let l:r = ("0x" . strpart(a:rgb, 0, 2)) + 0
|
||||
let l:g = ("0x" . strpart(a:rgb, 2, 2)) + 0
|
||||
let l:b = ("0x" . strpart(a:rgb, 4, 2)) + 0
|
||||
return s:color(l:r, l:g, l:b)
|
||||
endfun
|
||||
|
||||
" sets the highlighting for the given group
|
||||
fun! s:X(group, fg, bg, attr, lcfg, lcbg)
|
||||
if s:low_color
|
||||
let l:fge = empty(a:lcfg)
|
||||
let l:bge = empty(a:lcbg)
|
||||
|
||||
if !l:fge && !l:bge
|
||||
exec "hi ".a:group." ctermfg=".a:lcfg." ctermbg=".a:lcbg
|
||||
elseif !l:fge && l:bge
|
||||
exec "hi ".a:group." ctermfg=".a:lcfg." ctermbg=NONE"
|
||||
elseif l:fge && !l:bge
|
||||
exec "hi ".a:group." ctermfg=NONE ctermbg=".a:lcbg
|
||||
endif
|
||||
else
|
||||
let l:fge = empty(a:fg)
|
||||
let l:bge = empty(a:bg)
|
||||
|
||||
if !l:fge && !l:bge
|
||||
exec "hi ".a:group." guifg=#".a:fg." guibg=#".a:bg." ctermfg=".s:rgb(a:fg)." ctermbg=".s:rgb(a:bg)
|
||||
elseif !l:fge && l:bge
|
||||
exec "hi ".a:group." guifg=#".a:fg." guibg=NONE ctermfg=".s:rgb(a:fg)." ctermbg=NONE"
|
||||
elseif l:fge && !l:bge
|
||||
exec "hi ".a:group." guifg=NONE guibg=#".a:bg." ctermfg=NONE ctermbg=".s:rgb(a:bg)
|
||||
endif
|
||||
endif
|
||||
|
||||
if a:attr == ""
|
||||
exec "hi ".a:group." gui=none cterm=none"
|
||||
else
|
||||
let noitalic = join(filter(split(a:attr, ","), "v:val !=? 'italic'"), ",")
|
||||
if empty(noitalic)
|
||||
let noitalic = "none"
|
||||
endif
|
||||
exec "hi ".a:group." gui=".a:attr." cterm=".noitalic
|
||||
endif
|
||||
endfun
|
||||
" }}}
|
||||
|
||||
call s:X("Normal","e8e8d3","151515","","White","")
|
||||
set background=dark
|
||||
|
||||
if !exists("g:jellybeans_use_lowcolor_black") || g:jellybeans_use_lowcolor_black
|
||||
let s:termBlack = "Black"
|
||||
else
|
||||
let s:termBlack = "Grey"
|
||||
endif
|
||||
|
||||
if version >= 700
|
||||
call s:X("CursorLine","","1c1c1c","","",s:termBlack)
|
||||
call s:X("CursorColumn","","1c1c1c","","",s:termBlack)
|
||||
call s:X("MatchParen","ffffff","80a090","bold","","DarkCyan")
|
||||
|
||||
call s:X("TabLine","000000","b0b8c0","italic","",s:termBlack)
|
||||
call s:X("TabLineFill","9098a0","","","",s:termBlack)
|
||||
call s:X("TabLineSel","000000","f0f0f0","italic,bold",s:termBlack,"White")
|
||||
|
||||
" Auto-completion
|
||||
call s:X("Pmenu","ffffff","606060","","White",s:termBlack)
|
||||
call s:X("PmenuSel","101010","eeeeee","",s:termBlack,"White")
|
||||
endif
|
||||
|
||||
call s:X("Visual","","404040","","",s:termBlack)
|
||||
call s:X("Cursor","","b0d0f0","","","")
|
||||
|
||||
call s:X("LineNr","605958","151515","none",s:termBlack,"")
|
||||
call s:X("Comment","888888","","italic","Grey","")
|
||||
call s:X("Todo","808080","","bold","White",s:termBlack)
|
||||
|
||||
call s:X("StatusLine","000000","dddddd","italic","","White")
|
||||
call s:X("StatusLineNC","ffffff","403c41","italic","White","Black")
|
||||
call s:X("VertSplit","777777","403c41","",s:termBlack,s:termBlack)
|
||||
call s:X("WildMenu","f0a0c0","302028","","Magenta","")
|
||||
|
||||
call s:X("Folded","a0a8b0","384048","italic",s:termBlack,"")
|
||||
call s:X("FoldColumn","535D66","1f1f1f","","",s:termBlack)
|
||||
call s:X("SignColumn","777777","333333","","",s:termBlack)
|
||||
call s:X("ColorColumn","","000000","","",s:termBlack)
|
||||
|
||||
call s:X("Title","70b950","","bold","Green","")
|
||||
|
||||
call s:X("Constant","cf6a4c","","","Red","")
|
||||
call s:X("Special","799d6a","","","Green","")
|
||||
call s:X("Delimiter","668799","","","Grey","")
|
||||
|
||||
call s:X("String","99ad6a","","","Green","")
|
||||
call s:X("StringDelimiter","556633","","","DarkGreen","")
|
||||
|
||||
call s:X("Identifier","c6b6ee","","","LightCyan","")
|
||||
call s:X("Structure","8fbfdc","","","LightCyan","")
|
||||
call s:X("Function","fad07a","","","Yellow","")
|
||||
call s:X("Statement","8197bf","","","DarkBlue","")
|
||||
call s:X("PreProc","8fbfdc","","","LightBlue","")
|
||||
|
||||
hi! link Operator Normal
|
||||
|
||||
call s:X("Type","ffb964","","","Yellow","")
|
||||
call s:X("NonText","606060","151515","",s:termBlack,"")
|
||||
|
||||
call s:X("SpecialKey","444444","1c1c1c","",s:termBlack,"")
|
||||
|
||||
call s:X("Search","f0a0c0","302028","underline","Magenta","")
|
||||
|
||||
call s:X("Directory","dad085","","","Yellow","")
|
||||
call s:X("ErrorMsg","","902020","","","DarkRed")
|
||||
hi! link Error ErrorMsg
|
||||
hi! link MoreMsg Special
|
||||
call s:X("Question","65C254","","","Green","")
|
||||
|
||||
|
||||
" Spell Checking
|
||||
|
||||
call s:X("SpellBad","","902020","underline","","DarkRed")
|
||||
call s:X("SpellCap","","0000df","underline","","Blue")
|
||||
call s:X("SpellRare","","540063","underline","","DarkMagenta")
|
||||
call s:X("SpellLocal","","2D7067","underline","","Green")
|
||||
|
||||
" Diff
|
||||
|
||||
hi! link diffRemoved Constant
|
||||
hi! link diffAdded String
|
||||
|
||||
" VimDiff
|
||||
|
||||
call s:X("DiffAdd","D2EBBE","437019","","White","DarkGreen")
|
||||
call s:X("DiffDelete","40000A","700009","","DarkRed","DarkRed")
|
||||
call s:X("DiffChange","","2B5B77","","White","DarkBlue")
|
||||
call s:X("DiffText","8fbfdc","000000","reverse","Yellow","")
|
||||
|
||||
" PHP
|
||||
|
||||
hi! link phpFunctions Function
|
||||
call s:X("StorageClass","c59f6f","","","Red","")
|
||||
hi! link phpSuperglobal Identifier
|
||||
hi! link phpQuoteSingle StringDelimiter
|
||||
hi! link phpQuoteDouble StringDelimiter
|
||||
hi! link phpBoolean Constant
|
||||
hi! link phpNull Constant
|
||||
hi! link phpArrayPair Operator
|
||||
|
||||
" Ruby
|
||||
|
||||
hi! link rubySharpBang Comment
|
||||
call s:X("rubyClass","447799","","","DarkBlue","")
|
||||
call s:X("rubyIdentifier","c6b6fe","","","Cyan","")
|
||||
hi! link rubyConstant Type
|
||||
hi! link rubyFunction Function
|
||||
|
||||
call s:X("rubyInstanceVariable","c6b6fe","","","Cyan","")
|
||||
call s:X("rubySymbol","7697d6","","","Blue","")
|
||||
hi! link rubyGlobalVariable rubyInstanceVariable
|
||||
hi! link rubyModule rubyClass
|
||||
call s:X("rubyControl","7597c6","","","Blue","")
|
||||
|
||||
hi! link rubyString String
|
||||
hi! link rubyStringDelimiter StringDelimiter
|
||||
hi! link rubyInterpolationDelimiter Identifier
|
||||
|
||||
call s:X("rubyRegexpDelimiter","540063","","","Magenta","")
|
||||
call s:X("rubyRegexp","dd0093","","","DarkMagenta","")
|
||||
call s:X("rubyRegexpSpecial","a40073","","","Magenta","")
|
||||
|
||||
call s:X("rubyPredefinedIdentifier","de5577","","","Red","")
|
||||
|
||||
" JavaScript
|
||||
|
||||
hi! link javaScriptValue Constant
|
||||
hi! link javaScriptRegexpString rubyRegexp
|
||||
|
||||
" CoffeeScript
|
||||
|
||||
hi! link coffeeRegExp javaScriptRegexpString
|
||||
|
||||
" Lua
|
||||
|
||||
hi! link luaOperator Conditional
|
||||
|
||||
" C
|
||||
|
||||
hi! link cOperator Constant
|
||||
|
||||
" Objective-C/Cocoa
|
||||
|
||||
hi! link objcClass Type
|
||||
hi! link cocoaClass objcClass
|
||||
hi! link objcSubclass objcClass
|
||||
hi! link objcSuperclass objcClass
|
||||
hi! link objcDirective rubyClass
|
||||
hi! link objcStatement Constant
|
||||
hi! link cocoaFunction Function
|
||||
hi! link objcMethodName Identifier
|
||||
hi! link objcMethodArg Normal
|
||||
hi! link objcMessageName Identifier
|
||||
|
||||
" Debugger.vim
|
||||
|
||||
call s:X("DbgCurrent","DEEBFE","345FA8","","White","DarkBlue")
|
||||
call s:X("DbgBreakPt","","4F0037","","","DarkMagenta")
|
||||
|
||||
" vim-indent-guides
|
||||
|
||||
if !exists("g:indent_guides_auto_colors")
|
||||
let g:indent_guides_auto_colors = 0
|
||||
endif
|
||||
call s:X("IndentGuidesOdd","","202020","","","")
|
||||
call s:X("IndentGuidesEven","","1c1c1c","","","")
|
||||
|
||||
" Plugins, etc.
|
||||
|
||||
hi! link TagListFileName Directory
|
||||
call s:X("PreciseJumpTarget","B9ED67","405026","","White","Green")
|
||||
|
||||
" Manual overrides for 256-color terminals. Dark colors auto-map badly.
|
||||
if !s:low_color
|
||||
hi StatusLineNC ctermbg=235
|
||||
hi Folded ctermbg=236
|
||||
hi FoldColumn ctermbg=234
|
||||
hi SignColumn ctermbg=236
|
||||
hi CursorColumn ctermbg=234
|
||||
hi CursorLine ctermbg=234
|
||||
hi SpecialKey ctermbg=234
|
||||
hi NonText ctermbg=233
|
||||
hi LineNr ctermbg=233
|
||||
hi DiffText ctermfg=81
|
||||
hi Normal ctermbg=233
|
||||
hi DbgBreakPt ctermbg=53
|
||||
endif
|
||||
|
||||
" delete functions {{{
|
||||
delf s:X
|
||||
delf s:rgb
|
||||
delf s:color
|
||||
delf s:rgb_color
|
||||
delf s:rgb_level
|
||||
delf s:rgb_number
|
||||
delf s:grey_color
|
||||
delf s:grey_level
|
||||
delf s:grey_number
|
||||
" }}}
|
||||
@@ -0,0 +1,265 @@
|
||||
"
|
||||
"
|
||||
"
|
||||
"
|
||||
" dP dP
|
||||
" 88 88
|
||||
" 88 .dP .d8888b. 88 .d8888b. 88d888b.
|
||||
" 88888" 88' `88 88 88' `88 88' `88
|
||||
" 88 `8b. 88. .88 88 88. .88 88
|
||||
" dP `YP `88888P' dP `88888P' dP
|
||||
"
|
||||
"
|
||||
" ...when you need pro colors!
|
||||
"
|
||||
"
|
||||
"
|
||||
"
|
||||
" Name: kolor
|
||||
" Author: Alessandro Di Martino <aledimax@gmail.com>
|
||||
" Version: 1.4.1
|
||||
" URL: https://github.com/zeis/vim-kolor
|
||||
" License: MIT
|
||||
"
|
||||
" --------------------------------------------------------------------------
|
||||
" DESCRIPTION
|
||||
" --------------------------------------------------------------------------
|
||||
" Colorful Vim color scheme with 256 color terminal support.
|
||||
" Designed for high readability and optimal visibility of every element,
|
||||
" and to be eye comfortable as well.
|
||||
"
|
||||
" --------------------------------------------------------------------------
|
||||
" INSTALLATION
|
||||
" --------------------------------------------------------------------------
|
||||
" Copy kolor.vim to ~/.vim/colors (on Win <your-vim-dir>\vimfiles\colors).
|
||||
" Then add the line "colorscheme kolor" in your vimrc file, and restart Vim.
|
||||
"
|
||||
" --------------------------------------------------------------------------
|
||||
" OPTIONS
|
||||
" --------------------------------------------------------------------------
|
||||
" Options must be set before the line "colorscheme kolor" in your vimrc.
|
||||
"
|
||||
" let g:kolor_italic=1 " Enable italic. Default: 1
|
||||
" let g:kolor_bold=1 " Enable bold. Default: 1
|
||||
" let g:kolor_underlined=0 " Enable underline. Default: 0
|
||||
" let g:kolor_alternative_matchparen=0 " Gray 'MatchParen' color. Default: 0
|
||||
"
|
||||
" --------------------------------------------------------------------------
|
||||
" DONATIONS
|
||||
" --------------------------------------------------------------------------
|
||||
" This color scheme is dedicated to the the Ugandan children (see Vim's
|
||||
" website).
|
||||
" How about donating to them? (http://iccf-holland.org/click5.html).
|
||||
" And, if you donate, please, let me know.
|
||||
|
||||
|
||||
highlight clear
|
||||
set background=dark
|
||||
if exists("syntax_on")
|
||||
syntax reset
|
||||
endif
|
||||
let g:colors_name="kolor"
|
||||
|
||||
|
||||
if !exists("g:kolor_bold")
|
||||
let g:kolor_bold=1
|
||||
endif
|
||||
if !exists("g:kolor_italic")
|
||||
let g:kolor_italic=1
|
||||
endif
|
||||
if !exists("g:kolor_underlined")
|
||||
let g:kolor_underlined=0
|
||||
endif
|
||||
if !exists("g:kolor_alternative_matchparen")
|
||||
let g:kolor_alternative_matchparen=0
|
||||
endif
|
||||
|
||||
highlight Normal guifg=#c6c6c6 guibg=#2e2d2b gui=none
|
||||
highlight SpecialKey guifg=#7eaefd guibg=NONE gui=none
|
||||
highlight NonText guifg=#7eaefd guibg=#2e2d2b gui=none
|
||||
highlight Directory guifg=#e6987a guibg=NONE gui=none
|
||||
highlight IncSearch guifg=#000000 guibg=#ff5fd7 gui=none
|
||||
highlight LineNr guifg=#808080 guibg=#242322 gui=none
|
||||
highlight StatusLine guifg=#000000 guibg=#9e9e9e gui=none
|
||||
highlight StatusLineNC guifg=#b2b2b2 guibg=#4a4a4a gui=none
|
||||
highlight VertSplit guifg=#4a4a4a guibg=#4a4a4a gui=none
|
||||
highlight Visual guifg=#e2e2e2 guibg=#5c5c5c gui=none
|
||||
highlight VisualNOS guifg=#e2e2e2 guibg=NONE gui=underline
|
||||
highlight WildMenu guifg=#000000 guibg=#75d7d8 gui=none
|
||||
highlight Folded guifg=#8787af guibg=#242322 gui=none
|
||||
highlight FoldColumn guifg=#8787af guibg=#242322 gui=none
|
||||
highlight DiffAdd guifg=NONE guibg=#005154 gui=none
|
||||
highlight DiffChange guifg=NONE guibg=#4f3598 gui=none
|
||||
highlight DiffDelete guifg=#d96e8a guibg=#72323f gui=none
|
||||
highlight DiffText guifg=#000000 guibg=#75d7d8 gui=none
|
||||
highlight SignColumn guifg=#808080 guibg=#2e2d2b gui=none
|
||||
highlight Conceal guifg=#c6c6c6 guibg=NONE gui=none
|
||||
highlight SpellBad guifg=NONE guibg=NONE gui=undercurl guisp=#d96e8a
|
||||
highlight SpellCap guifg=NONE guibg=NONE gui=undercurl guisp=#75d7d8
|
||||
highlight SpellRare guifg=NONE guibg=NONE gui=undercurl guisp=#8cd991
|
||||
highlight SpellLocal guifg=NONE guibg=NONE gui=undercurl guisp=#dbc570
|
||||
highlight Pmenu guifg=#c6c6c6 guibg=#242322 gui=none
|
||||
highlight PmenuSel guifg=#000000 guibg=#7eaefd gui=none
|
||||
highlight PmenuSbar guifg=#ff5fd7 guibg=#262626 gui=none
|
||||
highlight PmenuSbar guifg=#ff5fd7 guibg=#2e2d2b gui=none
|
||||
highlight PmenuThumb guifg=#2e2d2b guibg=#ff5fd7 gui=none
|
||||
highlight TabLine guifg=#808080 guibg=#242322 gui=none
|
||||
highlight TablineSel guifg=#000000 guibg=#9e9e9e gui=none
|
||||
highlight TablineFill guifg=#808080 guibg=#242322 gui=none
|
||||
highlight CursorColumn guifg=NONE guibg=#383734 gui=none
|
||||
highlight CursorLine guifg=NONE guibg=#383734 gui=none
|
||||
highlight ColorColumn guifg=NONE guibg=#383734 gui=none
|
||||
highlight Cursor guifg=#000000 guibg=#e2e2e2 gui=none
|
||||
highlight lCursor guifg=#000000 guibg=#e2e2e2 gui=none
|
||||
highlight Special guifg=#ce6bd0 guibg=NONE gui=none
|
||||
highlight Identifier guifg=#75d7d8 guibg=NONE gui=none
|
||||
highlight PreProc guifg=#dbc570 guibg=NONE gui=none
|
||||
highlight Number guifg=#dbc570 guibg=NONE gui=none
|
||||
highlight Function guifg=#88da77 guibg=NONE gui=none
|
||||
highlight htmlEndTag guifg=#88da77 guibg=NONE gui=none
|
||||
highlight xmlEndTag guifg=#88da77 guibg=NONE gui=none
|
||||
if g:kolor_bold==0
|
||||
highlight ErrorMsg guifg=#d96e8a guibg=NONE gui=none
|
||||
highlight Search guifg=#ff8901 guibg=NONE gui=none
|
||||
highlight MoreMsg guifg=#8cd991 guibg=NONE gui=none
|
||||
highlight ModeMsg guifg=#e2e2e2 guibg=NONE gui=none
|
||||
highlight CursorLineNr guifg=#e2e2e2 guibg=#383734 gui=none
|
||||
highlight Question guifg=#75d7d8 guibg=NONE gui=none
|
||||
highlight WarningMsg guifg=#ff5fd7 guibg=NONE gui=none
|
||||
highlight Statement guifg=#d96e8a guibg=NONE gui=none
|
||||
highlight Type guifg=#a080ea guibg=NONE gui=none
|
||||
highlight Error guifg=#d96e8a guibg=NONE gui=none
|
||||
highlight Todo guifg=#75d7d8 guibg=NONE gui=none
|
||||
highlight Keyword guifg=#d96e8a guibg=NONE gui=none
|
||||
highlight Title guifg=#a080ea guibg=NONE gui=none
|
||||
if g:kolor_alternative_matchparen==0
|
||||
highlight MatchParen guifg=#2e2c29 guibg=#ff5fd7 gui=none
|
||||
else
|
||||
highlight MatchParen guifg=#2e2c29 guibg=#9e9e9e gui=none
|
||||
endif
|
||||
else
|
||||
highlight ErrorMsg guifg=#d96e8a guibg=NONE gui=bold
|
||||
highlight Search guifg=#ff8901 guibg=NONE gui=bold
|
||||
highlight MoreMsg guifg=#8cd991 guibg=NONE gui=bold
|
||||
highlight ModeMsg guifg=#e2e2e2 guibg=NONE gui=bold
|
||||
highlight CursorLineNr guifg=#e2e2e2 guibg=#383734 gui=bold
|
||||
highlight Question guifg=#75d7d8 guibg=NONE gui=bold
|
||||
highlight WarningMsg guifg=#ff5fd7 guibg=NONE gui=bold
|
||||
highlight Statement guifg=#d96e8a guibg=NONE gui=bold
|
||||
highlight Type guifg=#a080ea guibg=NONE gui=bold
|
||||
highlight Error guifg=#d96e8a guibg=NONE gui=bold
|
||||
highlight Todo guifg=#75d7d8 guibg=NONE gui=bold
|
||||
highlight Keyword guifg=#d96e8a guibg=NONE gui=bold
|
||||
highlight Title guifg=#a080ea guibg=NONE gui=bold
|
||||
if g:kolor_alternative_matchparen==0
|
||||
highlight MatchParen guifg=#2e2c29 guibg=#ff5fd7 gui=bold
|
||||
else
|
||||
highlight MatchParen guifg=#2e2c29 guibg=#9e9e9e gui=bold
|
||||
endif
|
||||
endif
|
||||
if g:kolor_italic==0
|
||||
highlight Comment guifg=#808080 guibg=NONE gui=none
|
||||
highlight Constant guifg=#e6987a guibg=NONE gui=none
|
||||
highlight String guifg=#ad8788 guibg=NONE gui=none
|
||||
else
|
||||
highlight Comment guifg=#808080 guibg=NONE gui=italic
|
||||
highlight Constant guifg=#e6987a guibg=NONE gui=italic
|
||||
highlight String guifg=#ad8788 guibg=NONE gui=italic
|
||||
endif
|
||||
if g:kolor_underlined==0
|
||||
highlight Underlined guifg=#7eaefd guibg=NONE gui=none
|
||||
else
|
||||
highlight Underlined guifg=#7eaefd guibg=NONE gui=underline
|
||||
endif
|
||||
|
||||
if &t_Co > 255
|
||||
highlight Normal ctermfg=251 ctermbg=235 cterm=none
|
||||
highlight SpecialKey ctermfg=111 ctermbg=none cterm=none
|
||||
highlight NonText ctermfg=111 ctermbg=235 cterm=none
|
||||
highlight Directory ctermfg=180 ctermbg=none cterm=none
|
||||
highlight IncSearch ctermfg=0 ctermbg=206 cterm=none
|
||||
highlight LineNr ctermfg=244 ctermbg=234 cterm=none
|
||||
highlight StatusLine ctermfg=0 ctermbg=247 cterm=none
|
||||
highlight StatusLineNC ctermfg=247 ctermbg=238 cterm=none
|
||||
highlight VertSplit ctermfg=238 ctermbg=238 cterm=none
|
||||
highlight Visual ctermfg=254 ctermbg=240 cterm=none
|
||||
highlight VisualNOS ctermfg=254 ctermbg=none cterm=underline
|
||||
highlight WildMenu ctermfg=0 ctermbg=80 cterm=none
|
||||
highlight Folded ctermfg=103 ctermbg=234 cterm=none
|
||||
highlight FoldColumn ctermfg=103 ctermbg=234 cterm=none
|
||||
highlight DiffAdd ctermfg=none ctermbg=23 cterm=none
|
||||
highlight DiffChange ctermfg=none ctermbg=56 cterm=none
|
||||
highlight DiffDelete ctermfg=168 ctermbg=96 cterm=none
|
||||
highlight DiffText ctermfg=0 ctermbg=80 cterm=none
|
||||
highlight SignColumn ctermfg=244 ctermbg=235 cterm=none
|
||||
highlight Conceal ctermfg=251 ctermbg=none cterm=none
|
||||
highlight SpellBad ctermfg=168 ctermbg=none cterm=underline
|
||||
highlight SpellCap ctermfg=80 ctermbg=none cterm=underline
|
||||
highlight SpellRare ctermfg=121 ctermbg=none cterm=underline
|
||||
highlight SpellLocal ctermfg=186 ctermbg=none cterm=underline
|
||||
highlight Pmenu ctermfg=251 ctermbg=234 cterm=none
|
||||
highlight PmenuSel ctermfg=0 ctermbg=111 cterm=none
|
||||
highlight PmenuSbar ctermfg=206 ctermbg=235 cterm=none
|
||||
highlight PmenuThumb ctermfg=235 ctermbg=206 cterm=none
|
||||
highlight TabLine ctermfg=244 ctermbg=234 cterm=none
|
||||
highlight TablineSel ctermfg=0 ctermbg=247 cterm=none
|
||||
highlight TablineFill ctermfg=244 ctermbg=234 cterm=none
|
||||
highlight CursorColumn ctermfg=none ctermbg=236 cterm=none
|
||||
highlight CursorLine ctermfg=none ctermbg=236 cterm=none
|
||||
highlight ColorColumn ctermfg=none ctermbg=236 cterm=none
|
||||
highlight Cursor ctermfg=0 ctermbg=254 cterm=none
|
||||
highlight Comment ctermfg=244 ctermbg=none cterm=none
|
||||
highlight Constant ctermfg=180 ctermbg=none cterm=none
|
||||
highlight Special ctermfg=176 ctermbg=none cterm=none
|
||||
highlight Identifier ctermfg=80 ctermbg=none cterm=none
|
||||
highlight PreProc ctermfg=186 ctermbg=none cterm=none
|
||||
highlight String ctermfg=138 ctermbg=none cterm=none
|
||||
highlight Number ctermfg=186 ctermbg=none cterm=none
|
||||
highlight Function ctermfg=114 ctermbg=none cterm=none
|
||||
highlight htmlEndTag ctermfg=114 ctermbg=none cterm=none
|
||||
highlight xmlEndTag ctermfg=114 ctermbg=none cterm=none
|
||||
if g:kolor_bold==0
|
||||
highlight ErrorMsg ctermfg=168 ctermbg=none cterm=none
|
||||
highlight Search ctermfg=208 ctermbg=none cterm=none
|
||||
highlight MoreMsg ctermfg=121 ctermbg=none cterm=none
|
||||
highlight ModeMsg ctermfg=254 ctermbg=none cterm=none
|
||||
highlight CursorLineNr ctermfg=254 ctermbg=236 cterm=none
|
||||
highlight Question ctermfg=80 ctermbg=none cterm=none
|
||||
highlight WarningMsg ctermfg=206 ctermbg=none cterm=none
|
||||
highlight Statement ctermfg=168 ctermbg=none cterm=none
|
||||
highlight Type ctermfg=141 ctermbg=none cterm=none
|
||||
highlight Error ctermfg=168 ctermbg=none cterm=none
|
||||
highlight Todo ctermfg=80 ctermbg=none cterm=none
|
||||
highlight Keyword ctermfg=168 ctermbg=none cterm=none
|
||||
highlight Title ctermfg=141 ctermbg=none cterm=none
|
||||
if g:kolor_alternative_matchparen==0
|
||||
highlight MatchParen ctermfg=235 ctermbg=206 cterm=none
|
||||
else
|
||||
highlight MatchParen ctermfg=235 ctermbg=247 cterm=none
|
||||
endif
|
||||
else
|
||||
highlight ErrorMsg ctermfg=168 ctermbg=none cterm=bold
|
||||
highlight Search ctermfg=208 ctermbg=none cterm=bold
|
||||
highlight MoreMsg ctermfg=121 ctermbg=none cterm=bold
|
||||
highlight ModeMsg ctermfg=254 ctermbg=none cterm=bold
|
||||
highlight CursorLineNr ctermfg=254 ctermbg=236 cterm=bold
|
||||
highlight Question ctermfg=80 ctermbg=none cterm=bold
|
||||
highlight WarningMsg ctermfg=206 ctermbg=none cterm=bold
|
||||
highlight Statement ctermfg=168 ctermbg=none cterm=bold
|
||||
highlight Type ctermfg=141 ctermbg=none cterm=bold
|
||||
highlight Error ctermfg=168 ctermbg=none cterm=bold
|
||||
highlight Todo ctermfg=80 ctermbg=none cterm=bold
|
||||
highlight Keyword ctermfg=168 ctermbg=none cterm=bold
|
||||
highlight Title ctermfg=141 ctermbg=none cterm=bold
|
||||
if g:kolor_alternative_matchparen==0
|
||||
highlight MatchParen ctermfg=235 ctermbg=206 cterm=bold
|
||||
else
|
||||
highlight MatchParen ctermfg=235 ctermbg=247 cterm=bold
|
||||
endif
|
||||
endif
|
||||
if g:kolor_underlined==0
|
||||
highlight Underlined ctermfg=111 ctermbg=none cterm=none
|
||||
else
|
||||
highlight Underlined ctermfg=111 ctermbg=none cterm=underline
|
||||
endif
|
||||
end
|
||||
@@ -0,0 +1,270 @@
|
||||
|
||||
" Vim color file
|
||||
"
|
||||
" Author: Tomas Restrepo <tomas@winterdom.com>
|
||||
"
|
||||
" Note: Based on the monokai theme for textmate
|
||||
" by Wimer Hazenberg and its darker variant
|
||||
" by Hamish Stuart Macpherson
|
||||
"
|
||||
|
||||
hi clear
|
||||
|
||||
set background=dark
|
||||
if version > 580
|
||||
" no guarantees for version 5.8 and below, but this makes it stop
|
||||
" complaining
|
||||
hi clear
|
||||
if exists("syntax_on")
|
||||
syntax reset
|
||||
endif
|
||||
endif
|
||||
let g:colors_name="molokai"
|
||||
|
||||
if exists("g:molokai_original")
|
||||
let s:molokai_original = g:molokai_original
|
||||
else
|
||||
let s:molokai_original = 0
|
||||
endif
|
||||
|
||||
|
||||
hi Boolean guifg=#AE81FF
|
||||
hi Character guifg=#E6DB74
|
||||
hi Number guifg=#AE81FF
|
||||
hi String guifg=#E6DB74
|
||||
hi Conditional guifg=#F92672 gui=bold
|
||||
hi Constant guifg=#AE81FF gui=bold
|
||||
hi Cursor guifg=#000000 guibg=#F8F8F0
|
||||
hi iCursor guifg=#000000 guibg=#F8F8F0
|
||||
hi Debug guifg=#BCA3A3 gui=bold
|
||||
hi Define guifg=#66D9EF
|
||||
hi Delimiter guifg=#8F8F8F
|
||||
hi DiffAdd guibg=#13354A
|
||||
hi DiffChange guifg=#89807D guibg=#4C4745
|
||||
hi DiffDelete guifg=#960050 guibg=#1E0010
|
||||
hi DiffText guibg=#4C4745 gui=italic,bold
|
||||
|
||||
hi Directory guifg=#A6E22E gui=bold
|
||||
hi Error guifg=#960050 guibg=#1E0010
|
||||
hi ErrorMsg guifg=#F92672 guibg=#232526 gui=bold
|
||||
hi Exception guifg=#A6E22E gui=bold
|
||||
hi Float guifg=#AE81FF
|
||||
hi FoldColumn guifg=#465457 guibg=#000000
|
||||
hi Folded guifg=#465457 guibg=#000000
|
||||
hi Function guifg=#A6E22E
|
||||
hi Identifier guifg=#FD971F
|
||||
hi Ignore guifg=#808080 guibg=bg
|
||||
hi IncSearch guifg=#C4BE89 guibg=#000000
|
||||
|
||||
hi Keyword guifg=#F92672 gui=bold
|
||||
hi Label guifg=#E6DB74 gui=none
|
||||
hi Macro guifg=#C4BE89 gui=italic
|
||||
hi SpecialKey guifg=#66D9EF gui=italic
|
||||
|
||||
hi MatchParen guifg=#000000 guibg=#FD971F gui=bold
|
||||
hi ModeMsg guifg=#E6DB74
|
||||
hi MoreMsg guifg=#E6DB74
|
||||
hi Operator guifg=#F92672
|
||||
|
||||
" complete menu
|
||||
hi Pmenu guifg=#66D9EF guibg=#000000
|
||||
hi PmenuSel guibg=#808080
|
||||
hi PmenuSbar guibg=#080808
|
||||
hi PmenuThumb guifg=#66D9EF
|
||||
|
||||
hi PreCondit guifg=#A6E22E gui=bold
|
||||
hi PreProc guifg=#A6E22E
|
||||
hi Question guifg=#66D9EF
|
||||
hi Repeat guifg=#F92672 gui=bold
|
||||
hi Search guifg=#FFFFFF guibg=#455354
|
||||
" marks
|
||||
hi SignColumn guifg=#A6E22E guibg=#232526
|
||||
hi SpecialChar guifg=#F92672 gui=bold
|
||||
hi SpecialComment guifg=#7E8E91 gui=bold
|
||||
hi Special guifg=#66D9EF guibg=bg gui=italic
|
||||
if has("spell")
|
||||
hi SpellBad guisp=#FF0000 gui=undercurl
|
||||
hi SpellCap guisp=#7070F0 gui=undercurl
|
||||
hi SpellLocal guisp=#70F0F0 gui=undercurl
|
||||
hi SpellRare guisp=#FFFFFF gui=undercurl
|
||||
endif
|
||||
hi Statement guifg=#F92672 gui=bold
|
||||
hi StatusLine guifg=#455354 guibg=fg
|
||||
hi StatusLineNC guifg=#808080 guibg=#080808
|
||||
hi StorageClass guifg=#FD971F gui=italic
|
||||
hi Structure guifg=#66D9EF
|
||||
hi Tag guifg=#F92672 gui=italic
|
||||
hi Title guifg=#ef5939
|
||||
hi Todo guifg=#FFFFFF guibg=bg gui=bold
|
||||
|
||||
hi Typedef guifg=#66D9EF
|
||||
hi Type guifg=#66D9EF gui=none
|
||||
hi Underlined guifg=#808080 gui=underline
|
||||
|
||||
hi VertSplit guifg=#808080 guibg=#080808 gui=bold
|
||||
hi VisualNOS guibg=#403D3D
|
||||
hi Visual guibg=#403D3D
|
||||
hi WarningMsg guifg=#FFFFFF guibg=#333333 gui=bold
|
||||
hi WildMenu guifg=#66D9EF guibg=#000000
|
||||
|
||||
if s:molokai_original == 1
|
||||
hi Normal guifg=#F8F8F2 guibg=#272822
|
||||
hi Comment guifg=#75715E
|
||||
hi CursorLine guibg=#3E3D32
|
||||
hi CursorLineNr guifg=#FD971F gui=none
|
||||
hi CursorColumn guibg=#3E3D32
|
||||
hi ColorColumn guibg=#3B3A32
|
||||
hi LineNr guifg=#BCBCBC guibg=#3B3A32
|
||||
hi NonText guifg=#75715E
|
||||
hi SpecialKey guifg=#75715E
|
||||
else
|
||||
hi Normal guifg=#F8F8F2 guibg=#1B1D1E
|
||||
hi Comment guifg=#7E8E91
|
||||
hi CursorLine guibg=#293739
|
||||
hi CursorLineNr guifg=#FD971F gui=none
|
||||
hi CursorColumn guibg=#293739
|
||||
hi ColorColumn guibg=#232526
|
||||
hi LineNr guifg=#465457 guibg=#232526
|
||||
hi NonText guifg=#465457
|
||||
hi SpecialKey guifg=#465457
|
||||
end
|
||||
|
||||
"
|
||||
" Support for 256-color terminal
|
||||
"
|
||||
if &t_Co > 255
|
||||
if s:molokai_original == 1
|
||||
hi Normal ctermbg=234
|
||||
hi CursorLine ctermbg=235 cterm=none
|
||||
hi CursorLineNr ctermfg=208 cterm=none
|
||||
else
|
||||
hi Normal ctermfg=252 ctermbg=233
|
||||
hi CursorLine ctermbg=234 cterm=none
|
||||
hi CursorLineNr ctermfg=208 cterm=none
|
||||
endif
|
||||
hi Boolean ctermfg=135
|
||||
hi Character ctermfg=144
|
||||
hi Number ctermfg=135
|
||||
hi String ctermfg=144
|
||||
hi Conditional ctermfg=161 cterm=bold
|
||||
hi Constant ctermfg=135 cterm=bold
|
||||
hi Cursor ctermfg=16 ctermbg=253
|
||||
hi Debug ctermfg=225 cterm=bold
|
||||
hi Define ctermfg=81
|
||||
hi Delimiter ctermfg=241
|
||||
|
||||
hi DiffAdd ctermbg=24
|
||||
hi DiffChange ctermfg=181 ctermbg=239
|
||||
hi DiffDelete ctermfg=162 ctermbg=53
|
||||
hi DiffText ctermbg=102 cterm=bold
|
||||
|
||||
hi Directory ctermfg=118 cterm=bold
|
||||
hi Error ctermfg=219 ctermbg=89
|
||||
hi ErrorMsg ctermfg=199 ctermbg=16 cterm=bold
|
||||
hi Exception ctermfg=118 cterm=bold
|
||||
hi Float ctermfg=135
|
||||
hi FoldColumn ctermfg=67 ctermbg=16
|
||||
hi Folded ctermfg=67 ctermbg=16
|
||||
hi Function ctermfg=118
|
||||
hi Identifier ctermfg=208 cterm=none
|
||||
hi Ignore ctermfg=244 ctermbg=232
|
||||
hi IncSearch ctermfg=193 ctermbg=16
|
||||
|
||||
hi keyword ctermfg=161 cterm=bold
|
||||
hi Label ctermfg=229 cterm=none
|
||||
hi Macro ctermfg=193
|
||||
hi SpecialKey ctermfg=81
|
||||
|
||||
hi MatchParen ctermfg=16 ctermbg=208 cterm=bold
|
||||
hi ModeMsg ctermfg=229
|
||||
hi MoreMsg ctermfg=229
|
||||
hi Operator ctermfg=161
|
||||
|
||||
" complete menu
|
||||
hi Pmenu ctermfg=81 ctermbg=16
|
||||
hi PmenuSel ctermfg=253 ctermbg=244
|
||||
hi PmenuSbar ctermbg=232
|
||||
hi PmenuThumb ctermfg=81
|
||||
|
||||
hi PreCondit ctermfg=118 cterm=bold
|
||||
hi PreProc ctermfg=118
|
||||
hi Question ctermfg=81
|
||||
hi Repeat ctermfg=161 cterm=bold
|
||||
hi Search ctermfg=253 ctermbg=66
|
||||
|
||||
" marks column
|
||||
hi SignColumn ctermfg=118 ctermbg=235
|
||||
hi SpecialChar ctermfg=161 cterm=bold
|
||||
hi SpecialComment ctermfg=245 cterm=bold
|
||||
hi Special ctermfg=81
|
||||
if has("spell")
|
||||
hi SpellBad ctermbg=52
|
||||
hi SpellCap ctermbg=17
|
||||
hi SpellLocal ctermbg=17
|
||||
hi SpellRare ctermfg=none ctermbg=none cterm=reverse
|
||||
endif
|
||||
hi Statement ctermfg=161 cterm=bold
|
||||
hi StatusLine ctermfg=238 ctermbg=253
|
||||
hi StatusLineNC ctermfg=244 ctermbg=232
|
||||
hi StorageClass ctermfg=208
|
||||
hi Structure ctermfg=81
|
||||
hi Tag ctermfg=161
|
||||
hi Title ctermfg=166
|
||||
hi Todo ctermfg=231 ctermbg=232 cterm=bold
|
||||
|
||||
hi Typedef ctermfg=81
|
||||
hi Type ctermfg=81 cterm=none
|
||||
hi Underlined ctermfg=244 cterm=underline
|
||||
|
||||
hi VertSplit ctermfg=244 ctermbg=232 cterm=bold
|
||||
hi VisualNOS ctermbg=238
|
||||
hi Visual ctermbg=235
|
||||
hi WarningMsg ctermfg=231 ctermbg=238 cterm=bold
|
||||
hi WildMenu ctermfg=81 ctermbg=16
|
||||
|
||||
hi Comment ctermfg=59
|
||||
hi CursorColumn ctermbg=234
|
||||
hi ColorColumn ctermbg=234
|
||||
hi LineNr ctermfg=250 ctermbg=234
|
||||
hi NonText ctermfg=59
|
||||
|
||||
hi SpecialKey ctermfg=59
|
||||
|
||||
if exists("g:rehash256") && g:rehash256 == 1
|
||||
hi Normal ctermfg=252 ctermbg=234
|
||||
hi CursorLine ctermbg=236 cterm=none
|
||||
hi CursorLineNr ctermfg=208 cterm=none
|
||||
|
||||
hi Boolean ctermfg=141
|
||||
hi Character ctermfg=222
|
||||
hi Number ctermfg=141
|
||||
hi String ctermfg=222
|
||||
hi Conditional ctermfg=197 cterm=bold
|
||||
hi Constant ctermfg=141 cterm=bold
|
||||
|
||||
hi DiffDelete ctermfg=125 ctermbg=233
|
||||
|
||||
hi Directory ctermfg=154 cterm=bold
|
||||
hi Error ctermfg=125 ctermbg=233
|
||||
hi Exception ctermfg=154 cterm=bold
|
||||
hi Float ctermfg=141
|
||||
hi Function ctermfg=154
|
||||
hi Identifier ctermfg=208
|
||||
|
||||
hi Keyword ctermfg=197 cterm=bold
|
||||
hi Operator ctermfg=197
|
||||
hi PreCondit ctermfg=154 cterm=bold
|
||||
hi PreProc ctermfg=154
|
||||
hi Repeat ctermfg=197 cterm=bold
|
||||
|
||||
hi Statement ctermfg=197 cterm=bold
|
||||
hi Tag ctermfg=197
|
||||
hi Title ctermfg=203
|
||||
hi Visual ctermbg=238
|
||||
|
||||
hi Comment ctermfg=244
|
||||
hi LineNr ctermfg=239 ctermbg=235
|
||||
hi NonText ctermfg=239
|
||||
hi SpecialKey ctermfg=239
|
||||
endif
|
||||
end
|
||||
@@ -0,0 +1,101 @@
|
||||
" Vim color scheme
|
||||
"
|
||||
" Name: railscasts.vim
|
||||
" Maintainer: Nick Moffitt <nick@zork.net>
|
||||
" Last Change: 01 Mar 2008
|
||||
" License: WTFPL <http://sam.zoy.org/wtfpl/>
|
||||
" Version: 2.1
|
||||
"
|
||||
" This theme is based on Josh O'Rourke's Vim clone of the railscast
|
||||
" textmate theme. The key thing I have done here is supply 256-color
|
||||
" terminal equivalents for as many of the colors as possible, and fixed
|
||||
" up some of the funny behaviors for editing e-mails and such.
|
||||
"
|
||||
" To use for gvim:
|
||||
" 1: install this file as ~/.vim/colors/railscasts.vim
|
||||
" 2: put "colorscheme railscasts" in your .gvimrc
|
||||
"
|
||||
" If you are using Ubuntu, you can get the benefit of this in your
|
||||
" terminals using ordinary vim by taking the following steps:
|
||||
"
|
||||
" 1: sudo apt-get install ncurses-term
|
||||
" 2: put the following in your .vimrc
|
||||
" if $COLORTERM == 'gnome-terminal'
|
||||
" set term=gnome-256color
|
||||
" colorscheme railscasts
|
||||
" else
|
||||
" colorscheme default
|
||||
" endif
|
||||
" 3: if you wish to use this with screen, add the following to your .screenrc:
|
||||
" attrcolor b ".I"
|
||||
" termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm'
|
||||
" defbce "on"
|
||||
" term screen-256color-bce
|
||||
|
||||
set background=dark
|
||||
hi clear
|
||||
if exists("syntax_on")
|
||||
syntax reset
|
||||
endif
|
||||
|
||||
let g:colors_name = "railscasts"
|
||||
|
||||
hi link htmlTag xmlTag
|
||||
hi link htmlTagName xmlTagName
|
||||
hi link htmlEndTag xmlEndTag
|
||||
|
||||
" NERDTree setup
|
||||
hi Directory guifg=#A5C261 ctermfg=red
|
||||
highlight VertSplit guifg=#222222 guibg=#403c41
|
||||
highlight nontext guifg=#555555 ctermfg=12
|
||||
|
||||
highlight Normal guifg=#E6E1DC guibg=#111111
|
||||
highlight Cursor guifg=#000000 ctermfg=0 guibg=#FFFFFF ctermbg=15
|
||||
highlight CursorLine guibg=#000000 ctermbg=233 cterm=NONE
|
||||
|
||||
highlight Comment guifg=#BC9458 ctermfg=180 gui=italic
|
||||
highlight Constant guifg=#6D9CBE ctermfg=73
|
||||
highlight Define guifg=#CC7833 ctermfg=173
|
||||
highlight Error guifg=#FFC66D ctermfg=221 guibg=#990000 ctermbg=88
|
||||
highlight Function guifg=#FFC66D ctermfg=221 gui=NONE cterm=NONE
|
||||
highlight Identifier guifg=#6D9CBE ctermfg=73 gui=NONE cterm=NONE
|
||||
highlight Include guifg=#CC7833 ctermfg=173 gui=NONE cterm=NONE
|
||||
highlight PreCondit guifg=#CC7833 ctermfg=173 gui=NONE cterm=NONE
|
||||
highlight Keyword guifg=#CC7833 ctermfg=173 cterm=NONE
|
||||
highlight LineNr guifg=#999999 ctermfg=159 guibg=#000000
|
||||
highlight Number guifg=#A5C261 ctermfg=107
|
||||
highlight PreProc guifg=#E6E1DC ctermfg=103
|
||||
highlight Search guifg=NONE ctermfg=NONE guibg=#2b2b2b ctermbg=235 gui=italic cterm=underline
|
||||
highlight Statement guifg=#CC7833 ctermfg=173 gui=NONE cterm=NONE
|
||||
highlight String guifg=#A5C261 ctermfg=107
|
||||
highlight Title guifg=#FFFFFF ctermfg=15
|
||||
highlight Type guifg=#DA4939 ctermfg=167 gui=NONE cterm=NONE
|
||||
highlight Visual guibg=#5A647E ctermbg=60
|
||||
|
||||
highlight DiffAdd guifg=#E6E1DC ctermfg=7 guibg=#519F50 ctermbg=71
|
||||
highlight DiffDelete guifg=#E6E1DC ctermfg=7 guibg=#660000 ctermbg=52
|
||||
highlight Special guifg=#DA4939 ctermfg=167
|
||||
|
||||
highlight pythonBuiltin guifg=#6D9CBE ctermfg=73 gui=NONE cterm=NONE
|
||||
highlight rubyBlockParameter guifg=#FFFFFF ctermfg=15
|
||||
highlight rubyClass guifg=#FFFFFF ctermfg=15
|
||||
highlight rubyConstant guifg=#DA4939 ctermfg=167
|
||||
highlight rubyInstanceVariable guifg=#D0D0FF ctermfg=189
|
||||
highlight rubyInterpolation guifg=#519F50 ctermfg=107
|
||||
highlight rubyLocalVariableOrMethod guifg=#D0D0FF ctermfg=189
|
||||
highlight rubyPredefinedConstant guifg=#DA4939 ctermfg=167
|
||||
highlight rubyPseudoVariable guifg=#FFC66D ctermfg=221
|
||||
highlight rubyStringDelimiter guifg=#A5C261 ctermfg=143
|
||||
|
||||
highlight xmlTag guifg=#E8BF6A ctermfg=179
|
||||
highlight xmlTagName guifg=#E8BF6A ctermfg=179
|
||||
highlight xmlEndTag guifg=#E8BF6A ctermfg=179
|
||||
|
||||
highlight mailSubject guifg=#A5C261 ctermfg=107
|
||||
highlight mailHeaderKey guifg=#FFC66D ctermfg=221
|
||||
highlight mailEmail guifg=#A5C261 ctermfg=107 gui=italic cterm=underline
|
||||
|
||||
highlight SpellBad guifg=#D70000 ctermfg=160 ctermbg=NONE cterm=underline
|
||||
highlight SpellRare guifg=#D75F87 ctermfg=168 guibg=NONE ctermbg=NONE gui=underline cterm=underline
|
||||
highlight SpellCap guifg=#D0D0FF ctermfg=189 guibg=NONE ctermbg=NONE gui=underline cterm=underline
|
||||
highlight MatchParen guifg=#FFFFFF ctermfg=15 guibg=#005f5f ctermbg=23
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,114 @@
|
||||
|
||||
set background=dark
|
||||
|
||||
hi clear
|
||||
|
||||
if exists("syntax_on")
|
||||
syntax reset
|
||||
endif
|
||||
|
||||
let colors_name = "twilight"
|
||||
|
||||
let s:grey_blue = '#8a9597'
|
||||
let s:light_grey_blue = '#a0a8b0'
|
||||
let s:dark_grey_blue = '#34383c'
|
||||
let s:mid_grey_blue = '#64686c'
|
||||
let s:beige = '#ceb67f'
|
||||
let s:light_orange = '#ebc471'
|
||||
let s:yellow = '#e3d796'
|
||||
let s:violet = '#a999ac'
|
||||
let s:green = '#a2a96f'
|
||||
let s:lightgreen = '#c2c98f'
|
||||
let s:red = '#d08356'
|
||||
let s:cyan = '#74dad9'
|
||||
let s:darkgrey = '#1a1a1a'
|
||||
let s:grey = '#303030'
|
||||
let s:lightgrey = '#605958'
|
||||
let s:white = '#fffedc'
|
||||
|
||||
if version >= 700
|
||||
hi CursorLine guibg=#262626
|
||||
hi CursorColumn guibg=#262626
|
||||
hi MatchParen guifg=white guibg=#80a090 gui=bold
|
||||
|
||||
"Tabpages
|
||||
hi TabLine guifg=#a09998 guibg=#202020 gui=underline
|
||||
hi TabLineFill guifg=#a09998 guibg=#202020 gui=underline
|
||||
hi TabLineSel guifg=#a09998 guibg=#404850 gui=underline
|
||||
|
||||
"P-Menu (auto-completion)
|
||||
hi Pmenu guifg=#605958 guibg=#303030 gui=underline
|
||||
hi PmenuSel guifg=#a09998 guibg=#404040 gui=underline
|
||||
"PmenuSbar
|
||||
"PmenuThumb
|
||||
endif
|
||||
|
||||
hi Visual guibg=#404040
|
||||
|
||||
"hi Cursor guifg=NONE guibg=#586068
|
||||
hi Cursor guibg=#b0d0f0
|
||||
|
||||
|
||||
exe 'hi Normal guifg='.s:white .' guibg='.s:darkgrey
|
||||
exe 'hi Underlined guifg='.s:white .' guibg='.s:darkgrey .' gui=underline'
|
||||
exe 'hi NonText guifg='.s:lightgrey .' guibg='.s:grey
|
||||
exe 'hi SpecialKey guifg='.s:grey .' guibg='.s:darkgrey
|
||||
|
||||
exe 'hi LineNr guifg='.s:mid_grey_blue .' guibg='.s:dark_grey_blue .' gui=none'
|
||||
exe 'hi StatusLine guifg='.s:white .' guibg='.s:grey .' gui=italic,underline'
|
||||
exe 'hi StatusLineNC guifg='.s:lightgrey .' guibg='.s:grey .' gui=italic,underline'
|
||||
exe 'hi VertSplit guifg='.s:grey .' guibg='.s:grey .' gui=none'
|
||||
|
||||
exe 'hi Folded guifg='.s:grey_blue .' guibg='.s:dark_grey_blue .' gui=none'
|
||||
exe 'hi FoldColumn guifg='.s:grey_blue .' guibg='.s:dark_grey_blue .' gui=none'
|
||||
exe 'hi SignColumn guifg='.s:grey_blue .' guibg='.s:dark_grey_blue .' gui=none'
|
||||
|
||||
exe 'hi Comment guifg='.s:mid_grey_blue .' guibg='.s:darkgrey .' gui=italic'
|
||||
exe 'hi TODO guifg='.s:grey_blue .' guibg='.s:darkgrey .' gui=italic,bold'
|
||||
|
||||
exe 'hi Title guifg='.s:red .' guibg='.s:darkgrey .' gui=underline'
|
||||
|
||||
exe 'hi Constant guifg='.s:red .' guibg='.s:darkgrey .' gui=none'
|
||||
exe 'hi String guifg='.s:green .' guibg='.s:darkgrey .' gui=none'
|
||||
exe 'hi Special guifg='.s:lightgreen .' guibg='.s:darkgrey .' gui=none'
|
||||
|
||||
exe 'hi Identifier guifg='.s:grey_blue .' guibg='.s:darkgrey .' gui=none'
|
||||
exe 'hi Statement guifg='.s:beige .' guibg='.s:darkgrey .' gui=none'
|
||||
exe 'hi Conditional guifg='.s:beige .' guibg='.s:darkgrey .' gui=none'
|
||||
exe 'hi Repeat guifg='.s:beige .' guibg='.s:darkgrey .' gui=none'
|
||||
exe 'hi Structure guifg='.s:beige .' guibg='.s:darkgrey .' gui=none'
|
||||
exe 'hi Function guifg='.s:violet .' guibg='.s:darkgrey .' gui=none'
|
||||
|
||||
exe 'hi PreProc guifg='.s:grey_blue .' guibg='.s:darkgrey .' gui=none'
|
||||
exe 'hi Operator guifg='.s:light_orange .' guibg='.s:darkgrey .' gui=none'
|
||||
exe 'hi Type guifg='.s:yellow .' guibg='.s:darkgrey .' gui=italic'
|
||||
|
||||
"hi Identifier guifg=#7587a6
|
||||
" Type d: 'class'
|
||||
"hi Structure guifg=#9B859D gui=underline
|
||||
"hi Function guifg=#dad085
|
||||
" dylan: method, library, ... d: if, return, ...
|
||||
"hi Statement guifg=#7187a1 gui=NONE
|
||||
" Keywords d: import, module...
|
||||
"hi PreProc guifg=#8fbfdc
|
||||
"gui=underline
|
||||
"hi Operator guifg=#a07020
|
||||
"hi Repeat guifg=#906040 gui=underline
|
||||
"hi Type guifg=#708090
|
||||
|
||||
"hi Type guifg=#f9ee98 gui=NONE
|
||||
|
||||
"hi NonText guifg=#808080 guibg=#303030
|
||||
|
||||
"hi Macro guifg=#a0b0c0 gui=underline
|
||||
|
||||
"Tabs, trailing spaces, etc (lcs)
|
||||
"hi SpecialKey guifg=#808080 guibg=#343434
|
||||
|
||||
"hi TooLong guibg=#ff0000 guifg=#f8f8f8
|
||||
|
||||
hi Search guifg=#606000 guibg=#c0c000 gui=bold
|
||||
|
||||
hi Directory guifg=#dad085 gui=NONE
|
||||
hi Error guibg=#602020
|
||||
|
||||
@@ -0,0 +1,68 @@
|
||||
" Vim color scheme
|
||||
"
|
||||
" Name: vibrantink.vim
|
||||
" Maintainer: Jo Vermeulen <jo.vermeulen@gmail.com>
|
||||
" Last Change: 5 Mar 2009
|
||||
" License: public domain
|
||||
" Version: 1.3
|
||||
"
|
||||
" This scheme should work in the GUI and in xterm's 256 color mode. It
|
||||
" won't work in 8/16 color terminals.
|
||||
"
|
||||
" I based it on John Lam's initial Vibrant Ink port to Vim [1]. Thanks
|
||||
" to a great tutorial [2], I was able to convert it to xterm 256 color
|
||||
" mode. And of course, credits go to Justin Palmer for creating the
|
||||
" original Vibrant Ink TextMate color scheme [3].
|
||||
"
|
||||
" [1] http://www.iunknown.com/articles/2006/09/04/vim-can-save-your-hands-too
|
||||
" [2] http://frexx.de/xterm-256-notes/
|
||||
" [3] http://encytemedia.com/blog/articles/2006/01/03/textmate-vibrant-ink-theme-and-prototype-bundle
|
||||
|
||||
set background=dark
|
||||
hi clear
|
||||
if exists("syntax_on")
|
||||
syntax reset
|
||||
endif
|
||||
|
||||
let g:colors_name = "vibrantink"
|
||||
|
||||
if has("gui_running")
|
||||
highlight Normal guifg=White guibg=Black
|
||||
highlight Cursor guifg=Black guibg=Yellow
|
||||
highlight Keyword guifg=#FF6600
|
||||
highlight Define guifg=#FF6600
|
||||
highlight Comment guifg=#9933CC
|
||||
highlight Type guifg=White gui=NONE
|
||||
highlight rubySymbol guifg=#339999 gui=NONE
|
||||
highlight Identifier guifg=White gui=NONE
|
||||
highlight rubyStringDelimiter guifg=#66FF00
|
||||
highlight rubyInterpolation guifg=White
|
||||
highlight rubyPseudoVariable guifg=#339999
|
||||
highlight Constant guifg=#FFEE98
|
||||
highlight Function guifg=#FFCC00 gui=NONE
|
||||
highlight Include guifg=#FFCC00 gui=NONE
|
||||
highlight Statement guifg=#FF6600 gui=NONE
|
||||
highlight String guifg=#66FF00
|
||||
highlight Search guibg=White
|
||||
highlight CursorLine guibg=#323300
|
||||
else
|
||||
set t_Co=256
|
||||
highlight Normal ctermfg=White ctermbg=Black
|
||||
highlight Cursor ctermfg=Black ctermbg=Yellow
|
||||
highlight Keyword ctermfg=202
|
||||
highlight Define ctermfg=202
|
||||
highlight Comment ctermfg=98
|
||||
highlight Type ctermfg=White
|
||||
highlight rubySymbol ctermfg=66
|
||||
highlight Identifier ctermfg=White
|
||||
highlight rubyStringDelimiter ctermfg=82
|
||||
highlight rubyInterpolation ctermfg=White
|
||||
highlight rubyPseudoVariable ctermfg=66
|
||||
highlight Constant ctermfg=228
|
||||
highlight Function ctermfg=220
|
||||
highlight Include ctermfg=220
|
||||
highlight Statement ctermfg=202
|
||||
highlight String ctermfg=82
|
||||
highlight Search ctermbg=White
|
||||
highlight CursorLine cterm=NONE ctermbg=235
|
||||
endif
|
||||
@@ -0,0 +1,561 @@
|
||||
" Vim color file
|
||||
" Maintainer: Jani Nurminen <slinky@iki.fi>
|
||||
" Last Change: $Id: zenburn.vim,v 2.21 2011/04/26 12:13:41 slinky Exp slinky $
|
||||
" URL: http://slinky.imukuppi.org/zenburnpage/
|
||||
" License: GNU GPL <http://www.gnu.org/licenses/gpl.html>
|
||||
"
|
||||
" Nothing too fancy, just some alien fruit salad to keep you in the zone.
|
||||
" This syntax file was designed to be used with dark environments and
|
||||
" low light situations. Of course, if it works during a daybright office, go
|
||||
" ahead :)
|
||||
"
|
||||
" Owes heavily to other Vim color files! With special mentions
|
||||
" to "BlackDust", "Camo" and "Desert".
|
||||
"
|
||||
" To install, copy to ~/.vim/colors directory.
|
||||
"
|
||||
" Alternatively, you can use Vimball installation:
|
||||
" vim zenburn.vba
|
||||
" :so %
|
||||
" :q
|
||||
"
|
||||
" For details, see :help vimball
|
||||
"
|
||||
" After installation, use it with :colorscheme zenburn.
|
||||
" See also :help syntax
|
||||
"
|
||||
" Credits:
|
||||
" - Jani Nurminen - original Zenburn, maintainer
|
||||
" - Steve Hall & Cream posse - higher-contrast Visual selection
|
||||
" - Kurt Maier - 256 color console coloring, low and high contrast toggle,
|
||||
" bug fixing
|
||||
" - Charlie - spotted too bright StatusLine in non-high contrast mode
|
||||
" - Pablo Castellazzi - CursorLine fix for 256 color mode
|
||||
" - Tim Smith - force dark background
|
||||
" - John Gabriele - spotted bad Ignore-group handling
|
||||
" - Zac Thompson - spotted invisible NonText in low contrast mode
|
||||
" - Christophe-Marie Duquesne - suggested making a Vimball,
|
||||
" suggested support for ctags_highlighting.vim
|
||||
" - Andrew Wagner - noted the CursorColumn bug (guifg was unintentionally set),
|
||||
" unify CursorColumn colour
|
||||
" - Martin Langasek - clarify the license, whitespace fixes
|
||||
" - Marcin Szamotulski - support autocomplete for Zenburn configuration
|
||||
" parameters
|
||||
" - Clayton Parker (claytron) - Convinced by Kurt Maier to use Zenburn. Point
|
||||
" out issues with LineNr, fix directory styles, and their usage in MacVim.
|
||||
" - Paweł Piekarski - Spotted bad FoldColumn and TabLine. Made better
|
||||
" FoldColumn colors, fixed TabLine colors.
|
||||
"
|
||||
" CONFIGURABLE PARAMETERS:
|
||||
"
|
||||
" You can use the default (don't set any parameters), or you can
|
||||
" set some parameters to tweak the Zenburn colours.
|
||||
"
|
||||
" To use them, put them into your .vimrc file before loading the color scheme,
|
||||
" example:
|
||||
" let g:zenburn_high_Contrast=1
|
||||
" colors zenburn
|
||||
"
|
||||
" You can also do ":let g:zenburn" then hit Ctrl-d or Tab to scroll through the
|
||||
" list of configurable parameters.
|
||||
"
|
||||
" * You can now set a darker background for bright environments. To activate, use:
|
||||
" contrast Zenburn, use:
|
||||
"
|
||||
" let g:zenburn_high_Contrast = 1
|
||||
"
|
||||
" * For example, Vim help files uses the Ignore-group for the pipes in tags
|
||||
" like "|somelink.txt|". By default, the pipes are not visible, as they
|
||||
" map to Ignore group. If you wish to enable coloring of the Ignore group,
|
||||
" set the following parameter to 1. Warning, it might make some syntax files
|
||||
" look strange.
|
||||
"
|
||||
" let g:zenburn_color_also_Ignore = 1
|
||||
"
|
||||
" * To get more contrast to the Visual selection, use
|
||||
"
|
||||
" let g:zenburn_alternate_Visual = 1
|
||||
"
|
||||
" Note: this is enabled only if the old-style Visual
|
||||
" if used, see g:zenburn_old_Visual
|
||||
"
|
||||
" * To use alternate colouring for Error message, use
|
||||
"
|
||||
" let g:zenburn_alternate_Error = 1
|
||||
"
|
||||
" * The new default for Include is a duller orange. To use the original
|
||||
" colouring for Include, use
|
||||
"
|
||||
" let g:zenburn_alternate_Include = 1
|
||||
"
|
||||
" * Work-around to a Vim bug, it seems to misinterpret ctermfg and 234 and 237
|
||||
" as light values, and sets background to light for some people. If you have
|
||||
" this problem, use:
|
||||
"
|
||||
" let g:zenburn_force_dark_Background = 1
|
||||
"
|
||||
" * By default the CursorColumn is of a lighter colour. I find it more readable
|
||||
" that way, but some people may want to align it with the darker CursorLine
|
||||
" color, for visual uniformity. To do so, use:
|
||||
"
|
||||
" let g:zenburn_unified_CursorColumn = 1
|
||||
"
|
||||
" Note: you can ignore this unless you use
|
||||
" ":set cursorline cursorcolumn", since otherwise the effect won't be
|
||||
" seen.
|
||||
"
|
||||
" * New (dark) Visual coloring has been introduced.
|
||||
" The dark Visual is more aligned with the rest of the colour scheme,
|
||||
" especially if you use line numbers. If you wish to use the
|
||||
" old Visual coloring, use
|
||||
"
|
||||
" let g:zenburn_old_Visual = 1
|
||||
"
|
||||
" Default is to use the new Visual.
|
||||
"
|
||||
" * EXPERIMENTAL FEATURE: Zenburn will automatically detect if you
|
||||
" have ctags_highlighting.vim (by Al Budden,
|
||||
" http://www.vim.org/scripts/script.php?script_id=2646) enabled, and
|
||||
" will set sensible highlight links. Nothing will happen if you do
|
||||
" not have ctags_highlighting.vim. If you do not want this feature, you can
|
||||
" override the check with:
|
||||
"
|
||||
" let g:zenburn_disable_ctags_highlighting_support = 1
|
||||
"
|
||||
" NOTE:
|
||||
"
|
||||
" * To turn the parameter(s) back to defaults, use UNLET or set them to 0:
|
||||
"
|
||||
" unlet g:zenburn_alternate_Include
|
||||
" or
|
||||
" let g:zenburn_alternate_Include = 0
|
||||
"
|
||||
"
|
||||
" That's it, enjoy!
|
||||
"
|
||||
" TODO
|
||||
" - Visual alternate color is broken? Try GVim >= 7.0.66 if you have trouble
|
||||
" - IME colouring (CursorIM)
|
||||
|
||||
" Set defaults, but keep any parameters already set by the user
|
||||
if ! exists("g:zenburn_high_Contrast")
|
||||
let g:zenburn_high_Contrast = 0
|
||||
endif
|
||||
|
||||
if ! exists("g:zenburn_color_also_Ignore")
|
||||
let g:zenburn_color_also_Ignore = 0
|
||||
endif
|
||||
|
||||
if ! exists("g:zenburn_alternate_Error")
|
||||
let g:zenburn_alternate_Error = 0
|
||||
endif
|
||||
|
||||
if ! exists("g:zenburn_force_dark_Background")
|
||||
let g:zenburn_force_dark_Background = 0
|
||||
endif
|
||||
|
||||
if ! exists("g:zenburn_alternate_Visual")
|
||||
let g:zenburn_alternate_Visual = 0
|
||||
endif
|
||||
|
||||
if ! exists("g:zenburn_alternate_Include")
|
||||
let g:zenburn_alternate_Include = 0
|
||||
endif
|
||||
|
||||
if ! exists("g:zenburn_unified_CursorColumn")
|
||||
let g:zenburn_unified_CursorColumn = 0
|
||||
endif
|
||||
|
||||
if ! exists("g:zenburn_old_Visual")
|
||||
let g:zenburn_old_Visual = 0
|
||||
endif
|
||||
|
||||
if ! exists("g:zenburn_disable_ctags_highlighting_support")
|
||||
" enabled by default
|
||||
let g:zenburn_disable_ctags_highlighting_support = 0
|
||||
endif
|
||||
|
||||
" -----------------------------------------------
|
||||
|
||||
set background=dark
|
||||
hi clear
|
||||
if exists("syntax_on")
|
||||
syntax reset
|
||||
endif
|
||||
let g:colors_name="zenburn"
|
||||
|
||||
" check for ctags-highlighting
|
||||
if exists("g:loaded_ctags_highlighting") && g:loaded_ctags_highlighting && ! g:zenburn_disable_ctags_highlighting_support
|
||||
" internal
|
||||
let _zenburn_ctags = 1
|
||||
endif
|
||||
|
||||
hi Boolean guifg=#dca3a3
|
||||
hi Character guifg=#dca3a3 gui=bold
|
||||
hi Comment guifg=#7f9f7f gui=italic
|
||||
hi Conditional guifg=#f0dfaf gui=bold
|
||||
hi Constant guifg=#dca3a3 gui=bold
|
||||
hi Cursor guifg=#000d18 guibg=#8faf9f gui=bold
|
||||
hi Debug guifg=#bca3a3 gui=bold
|
||||
hi Define guifg=#ffcfaf gui=bold
|
||||
hi Delimiter guifg=#8f8f8f
|
||||
hi DiffAdd guifg=#709080 guibg=#313c36 gui=bold
|
||||
hi DiffChange guibg=#333333
|
||||
hi DiffDelete guifg=#333333 guibg=#464646
|
||||
hi DiffText guifg=#ecbcbc guibg=#41363c gui=bold
|
||||
hi Directory guifg=#9fafaf gui=bold
|
||||
hi ErrorMsg guifg=#80d4aa guibg=#2f2f2f gui=bold
|
||||
hi Exception guifg=#c3bf9f gui=bold
|
||||
hi Float guifg=#c0bed1
|
||||
hi FoldColumn guifg=#93b3a3 guibg=#3f4040
|
||||
hi Folded guifg=#93b3a3 guibg=#3f4040
|
||||
hi Function guifg=#efef8f
|
||||
hi Identifier guifg=#efdcbc
|
||||
hi IncSearch guibg=#f8f893 guifg=#385f38
|
||||
hi Keyword guifg=#f0dfaf gui=bold
|
||||
hi Label guifg=#dfcfaf gui=underline
|
||||
hi Macro guifg=#ffcfaf gui=bold
|
||||
hi ModeMsg guifg=#ffcfaf gui=none
|
||||
hi MoreMsg guifg=#ffffff gui=bold
|
||||
hi Number guifg=#8cd0d3
|
||||
hi Operator guifg=#f0efd0
|
||||
hi PreCondit guifg=#dfaf8f gui=bold
|
||||
hi PreProc guifg=#ffcfaf gui=bold
|
||||
hi Question guifg=#ffffff gui=bold
|
||||
hi Repeat guifg=#ffd7a7 gui=bold
|
||||
hi Search guifg=#ffffe0 guibg=#284f28
|
||||
hi SpecialChar guifg=#dca3a3 gui=bold
|
||||
hi SpecialComment guifg=#82a282 gui=bold
|
||||
hi Special guifg=#cfbfaf
|
||||
hi SpecialKey guifg=#9ece9e
|
||||
hi Statement guifg=#e3ceab gui=none
|
||||
hi StatusLine guifg=#313633 guibg=#ccdc90
|
||||
hi StatusLineNC guifg=#2e3330 guibg=#88b090
|
||||
hi StorageClass guifg=#c3bf9f gui=bold
|
||||
hi String guifg=#cc9393
|
||||
hi Structure guifg=#efefaf gui=bold
|
||||
hi Tag guifg=#e89393 gui=bold
|
||||
hi Title guifg=#efefef gui=bold
|
||||
hi Todo guifg=#dfdfdf guibg=bg gui=bold
|
||||
hi Typedef guifg=#dfe4cf gui=bold
|
||||
hi Type guifg=#dfdfbf gui=bold
|
||||
hi Underlined guifg=#dcdccc gui=underline
|
||||
hi VertSplit guifg=#2e3330 guibg=#688060
|
||||
hi VisualNOS guifg=#333333 guibg=#f18c96 gui=bold,underline
|
||||
hi WarningMsg guifg=#ffffff guibg=#333333 gui=bold
|
||||
hi WildMenu guibg=#2c302d guifg=#cbecd0 gui=underline
|
||||
|
||||
hi SpellBad guisp=#bc6c4c guifg=#dc8c6c
|
||||
hi SpellCap guisp=#6c6c9c guifg=#8c8cbc
|
||||
hi SpellRare guisp=#bc6c9c guifg=#bc8cbc
|
||||
hi SpellLocal guisp=#7cac7c guifg=#9ccc9c
|
||||
|
||||
" Entering Kurt zone
|
||||
if &t_Co > 255
|
||||
hi Boolean ctermfg=181
|
||||
hi Character ctermfg=181 cterm=bold
|
||||
hi Comment ctermfg=108
|
||||
hi Conditional ctermfg=223 cterm=bold
|
||||
hi Constant ctermfg=181 cterm=bold
|
||||
hi Cursor ctermfg=233 ctermbg=109 cterm=bold
|
||||
hi Debug ctermfg=181 cterm=bold
|
||||
hi Define ctermfg=223 cterm=bold
|
||||
hi Delimiter ctermfg=245
|
||||
hi DiffAdd ctermfg=66 ctermbg=237 cterm=bold
|
||||
hi DiffChange ctermbg=236
|
||||
hi DiffDelete ctermfg=236 ctermbg=238
|
||||
hi DiffText ctermfg=217 ctermbg=237 cterm=bold
|
||||
hi Directory ctermfg=109 cterm=bold
|
||||
hi ErrorMsg ctermfg=115 ctermbg=236 cterm=bold
|
||||
hi Exception ctermfg=249 cterm=bold
|
||||
hi Float ctermfg=251
|
||||
hi Function ctermfg=228
|
||||
hi Identifier ctermfg=223
|
||||
hi IncSearch ctermbg=228 ctermfg=238
|
||||
hi Keyword ctermfg=223 cterm=bold
|
||||
hi Label ctermfg=187 cterm=underline
|
||||
hi LineNr ctermfg=248 ctermbg=233
|
||||
hi Macro ctermfg=223 cterm=bold
|
||||
hi ModeMsg ctermfg=223 cterm=none
|
||||
hi MoreMsg ctermfg=15 cterm=bold
|
||||
hi Number ctermfg=116
|
||||
hi Operator ctermfg=230
|
||||
hi PreCondit ctermfg=180 cterm=bold
|
||||
hi PreProc ctermfg=223 cterm=bold
|
||||
hi Question ctermfg=15 cterm=bold
|
||||
hi Repeat ctermfg=223 cterm=bold
|
||||
hi Search ctermfg=230 ctermbg=236
|
||||
hi SpecialChar ctermfg=181 cterm=bold
|
||||
hi SpecialComment ctermfg=108 cterm=bold
|
||||
hi Special ctermfg=181
|
||||
hi SpecialKey ctermfg=151
|
||||
hi Statement ctermfg=187 ctermbg=234 cterm=none
|
||||
hi StatusLine ctermfg=236 ctermbg=186
|
||||
hi StatusLineNC ctermfg=235 ctermbg=108
|
||||
hi StorageClass ctermfg=249 cterm=bold
|
||||
hi String ctermfg=174
|
||||
hi Structure ctermfg=229 cterm=bold
|
||||
hi Tag ctermfg=181 cterm=bold
|
||||
hi Title ctermfg=7 ctermbg=234 cterm=bold
|
||||
hi Todo ctermfg=108 ctermbg=234 cterm=bold
|
||||
hi Typedef ctermfg=253 cterm=bold
|
||||
hi Type ctermfg=187 cterm=bold
|
||||
hi Underlined ctermfg=188 ctermbg=234 cterm=bold
|
||||
hi VertSplit ctermfg=236 ctermbg=65
|
||||
hi VisualNOS ctermfg=236 ctermbg=210 cterm=bold
|
||||
hi WarningMsg ctermfg=15 ctermbg=236 cterm=bold
|
||||
hi WildMenu ctermbg=236 ctermfg=194 cterm=bold
|
||||
|
||||
" spellchecking, always "bright" background
|
||||
hi SpellLocal ctermfg=14 ctermbg=237
|
||||
hi SpellBad ctermfg=9 ctermbg=237
|
||||
hi SpellCap ctermfg=12 ctermbg=237
|
||||
hi SpellRare ctermfg=13 ctermbg=237
|
||||
|
||||
" pmenu
|
||||
hi PMenu ctermfg=248 ctermbg=0
|
||||
hi PMenuSel ctermfg=223 ctermbg=235
|
||||
|
||||
if exists("g:zenburn_high_Contrast") && g:zenburn_high_Contrast
|
||||
hi Normal ctermfg=188 ctermbg=234
|
||||
hi NonText ctermfg=238
|
||||
|
||||
if exists("g:zenburn_color_also_Ignore") && g:zenburn_color_also_Ignore
|
||||
hi Ignore ctermfg=238
|
||||
endif
|
||||
|
||||
" hc mode, darker CursorLine, default 236
|
||||
hi CursorLine ctermbg=233 cterm=none
|
||||
|
||||
if exists("g:zenburn_unified_CursorColumn") && g:zenburn_unified_CursorColumn
|
||||
hi CursorColumn ctermbg=233 cterm=none
|
||||
else
|
||||
hi CursorColumn ctermbg=235 cterm=none
|
||||
endif
|
||||
else
|
||||
hi Normal ctermfg=188 ctermbg=237
|
||||
hi Cursor ctermbg=109
|
||||
hi diffadd ctermbg=237
|
||||
hi diffdelete ctermbg=238
|
||||
hi difftext ctermbg=237
|
||||
hi errormsg ctermbg=237
|
||||
hi incsearch ctermbg=228
|
||||
hi linenr ctermbg=235
|
||||
hi search ctermbg=238
|
||||
hi statement ctermbg=237
|
||||
hi statusline ctermbg=144
|
||||
hi statuslinenc ctermbg=108
|
||||
hi title ctermbg=237
|
||||
hi todo ctermbg=237
|
||||
hi underlined ctermbg=237
|
||||
hi vertsplit ctermbg=65
|
||||
hi visualnos ctermbg=210
|
||||
hi warningmsg ctermbg=236
|
||||
hi wildmenu ctermbg=236
|
||||
hi NonText ctermfg=240
|
||||
|
||||
if exists("g:zenburn_color_also_Ignore") && g:zenburn_color_also_Ignore
|
||||
hi Ignore ctermfg=240
|
||||
endif
|
||||
|
||||
" normal mode, lighter CursorLine
|
||||
hi CursorLine ctermbg=238 cterm=none
|
||||
|
||||
if exists("g:zenburn_unified_CursorColumn") && g:zenburn_unified_CursorColumn
|
||||
hi CursorColumn ctermbg=238 cterm=none
|
||||
else
|
||||
hi CursorColumn ctermbg=239 cterm=none
|
||||
endif
|
||||
endif
|
||||
|
||||
if exists("g:zenburn_alternate_Error") && g:zenburn_alternate_Error
|
||||
" use more jumpy Error
|
||||
hi Error ctermfg=210 ctermbg=52 gui=bold
|
||||
else
|
||||
" default is something more zenburn-compatible
|
||||
hi Error ctermfg=228 ctermbg=95 gui=bold
|
||||
endif
|
||||
endif
|
||||
|
||||
if exists("g:zenburn_force_dark_Background") && g:zenburn_force_dark_Background
|
||||
" Force dark background, because of a bug in VIM: VIM sets background
|
||||
" automatically during "hi Normal ctermfg=X"; it misinterprets the high
|
||||
" value (234 or 237 above) as a light color, and wrongly sets background to
|
||||
" light. See ":help highlight" for details.
|
||||
set background=dark
|
||||
endif
|
||||
|
||||
if exists("g:zenburn_high_Contrast") && g:zenburn_high_Contrast
|
||||
" use new darker background
|
||||
hi Normal guifg=#dcdccc guibg=#1f1f1f
|
||||
hi CursorLine guibg=#121212 gui=bold
|
||||
if exists("g:zenburn_unified_CursorColumn") && g:zenburn_unified_CursorColumn
|
||||
hi CursorColumn guibg=#121212 gui=bold
|
||||
else
|
||||
hi CursorColumn guibg=#2b2b2b
|
||||
endif
|
||||
hi Pmenu guibg=#242424 guifg=#ccccbc
|
||||
hi PMenuSel guibg=#353a37 guifg=#ccdc90 gui=bold
|
||||
hi PmenuSbar guibg=#2e3330 guifg=#000000
|
||||
hi PMenuThumb guibg=#a0afa0 guifg=#040404
|
||||
hi MatchParen guifg=#f0f0c0 guibg=#383838 gui=bold
|
||||
hi SignColumn guifg=#9fafaf guibg=#181818 gui=bold
|
||||
hi TabLineFill guifg=#cfcfaf guibg=#181818 gui=bold
|
||||
hi TabLineSel guifg=#efefef guibg=#1c1c1b gui=bold
|
||||
hi TabLine guifg=#b6bf98 guibg=#181818 gui=bold
|
||||
hi NonText guifg=#404040 gui=bold
|
||||
|
||||
hi LineNr guifg=#9fafaf guibg=#161616
|
||||
else
|
||||
" Original, lighter background
|
||||
hi Normal guifg=#dcdccc guibg=#3f3f3f
|
||||
hi CursorLine guibg=#434443
|
||||
if exists("g:zenburn_unified_CursorColumn") && g:zenburn_unified_CursorColumn
|
||||
hi CursorColumn guibg=#434343
|
||||
else
|
||||
hi CursorColumn guibg=#4f4f4f
|
||||
endif
|
||||
hi Pmenu guibg=#2c2e2e guifg=#9f9f9f
|
||||
hi PMenuSel guibg=#242424 guifg=#d0d0a0 gui=bold
|
||||
hi PmenuSbar guibg=#2e3330 guifg=#000000
|
||||
hi PMenuThumb guibg=#a0afa0 guifg=#040404
|
||||
hi MatchParen guifg=#b2b2a0 guibg=#2e2e2e gui=bold
|
||||
hi SignColumn guifg=#9fafaf guibg=#343434 gui=bold
|
||||
hi TabLineFill guifg=#cfcfaf guibg=#353535 gui=bold
|
||||
hi TabLineSel guifg=#efefef guibg=#3a3a39 gui=bold
|
||||
hi TabLine guifg=#b6bf98 guibg=#353535 gui=bold
|
||||
hi NonText guifg=#5b605e gui=bold
|
||||
|
||||
hi LineNr guifg=#9fafaf guibg=#262626
|
||||
endif
|
||||
|
||||
if exists("g:zenburn_old_Visual") && g:zenburn_old_Visual
|
||||
if exists("g:zenburn_alternate_Visual") && g:zenburn_alternate_Visual
|
||||
" Visual with more contrast, thanks to Steve Hall & Cream posse
|
||||
" gui=none fixes weird highlight problem in at least GVim 7.0.66, thanks to Kurt Maier
|
||||
hi Visual guifg=#000000 guibg=#71d3b4 gui=none
|
||||
hi VisualNOS guifg=#000000 guibg=#71d3b4 gui=none
|
||||
else
|
||||
" use default visual
|
||||
hi Visual guifg=#233323 guibg=#71d3b4 gui=none
|
||||
hi VisualNOS guifg=#233323 guibg=#71d3b4 gui=none
|
||||
endif
|
||||
else
|
||||
" new Visual style
|
||||
if exists("g:zenburn_high_Contrast") && g:zenburn_high_Contrast
|
||||
" high contrast
|
||||
"hi Visual guibg=#304a3d
|
||||
"hi VisualNos guibg=#304a3d
|
||||
"TODO no nice greenish in console, 65 is closest. use full black instead,
|
||||
"although i like the green..!
|
||||
hi Visual guibg=#0f0f0f
|
||||
hi VisualNos guibg=#0f0f0f
|
||||
if &t_Co > 255
|
||||
hi Visual ctermbg=0
|
||||
endif
|
||||
else
|
||||
" low contrast
|
||||
hi Visual guibg=#2f2f2f
|
||||
hi VisualNOS guibg=#2f2f2f
|
||||
|
||||
if &t_Co > 255
|
||||
hi Visual ctermbg=235
|
||||
hi VisualNOS ctermbg=235
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
if exists("g:zenburn_alternate_Error") && g:zenburn_alternate_Error
|
||||
" use more jumpy Error
|
||||
hi Error guifg=#e37170 guibg=#664040 gui=bold
|
||||
else
|
||||
" default is something more zenburn-compatible
|
||||
hi Error guifg=#e37170 guibg=#3d3535 gui=none
|
||||
endif
|
||||
|
||||
if exists("g:zenburn_alternate_Include") && g:zenburn_alternate_Include
|
||||
" original setting
|
||||
hi Include guifg=#ffcfaf gui=bold
|
||||
else
|
||||
" new, less contrasted one
|
||||
hi Include guifg=#dfaf8f gui=bold
|
||||
endif
|
||||
|
||||
if exists("g:zenburn_color_also_Ignore") && g:zenburn_color_also_Ignore
|
||||
" color the Ignore groups
|
||||
" note: if you get strange coloring for your files, turn this off (unlet)
|
||||
hi Ignore guifg=#545a4f
|
||||
endif
|
||||
|
||||
" new tabline and fold column
|
||||
if exists("g:zenburn_high_Contrast") && g:zenburn_high_Contrast
|
||||
hi FoldColumn guibg=#161616
|
||||
hi Folded guibg=#161616
|
||||
hi TabLine guifg=#88b090 guibg=#313633 gui=none
|
||||
hi TabLineSel guifg=#ccd990 guibg=#222222
|
||||
hi TabLineFill guifg=#88b090 guibg=#313633 gui=none
|
||||
|
||||
hi SpecialKey guibg=#242424
|
||||
|
||||
if &t_Co > 255
|
||||
hi FoldColumn ctermbg=233 ctermfg=109
|
||||
hi Folded ctermbg=233 ctermfg=109
|
||||
hi TabLine ctermbg=236 ctermfg=108 cterm=none
|
||||
hi TabLineSel ctermbg=235 ctermfg=186 cterm=bold
|
||||
hi TabLineFill ctermbg=236 ctermfg=236
|
||||
endif
|
||||
else
|
||||
hi FoldColumn guibg=#333333
|
||||
hi Folded guibg=#333333
|
||||
hi TabLine guifg=#d0d0b8 guibg=#222222 gui=none
|
||||
hi TabLineSel guifg=#f0f0b0 guibg=#333333 gui=bold
|
||||
hi TabLineFill guifg=#dccdcc guibg=#101010 gui=none
|
||||
|
||||
hi SpecialKey guibg=#444444
|
||||
|
||||
if &t_Co > 255
|
||||
hi FoldColumn ctermbg=236 ctermfg=109
|
||||
hi Folded ctermbg=236 ctermfg=109
|
||||
hi TabLine ctermbg=235 ctermfg=187 cterm=none
|
||||
hi TabLineSel ctermbg=236 ctermfg=229 cterm=bold
|
||||
hi TabLineFill ctermbg=233 ctermfg=233
|
||||
endif
|
||||
endif
|
||||
|
||||
" EXPERIMENTAL ctags_highlighting support
|
||||
" link/set sensible defaults here;
|
||||
"
|
||||
" For now I mostly link to subset of Zenburn colors, the linkage is based
|
||||
" on appearance, not semantics. In later versions I might define more new colours.
|
||||
"
|
||||
" HELP NEEDED to make this work properly.
|
||||
if exists("_zenburn_ctags") && _zenburn_ctags
|
||||
|
||||
" Highlighter seems to think a lot of things are global variables even
|
||||
" though they're not. Example: python method-local variable is
|
||||
" coloured as a global variable. They should not be global, since
|
||||
" they're not visible outside the method.
|
||||
" If this is some very bright colour group then things look bad.
|
||||
hi link CTagsGlobalVariable Identifier
|
||||
|
||||
hi CTagsClass guifg=#acd0b3
|
||||
if &t_Co > 255
|
||||
hi CTagsClass ctermfg=115
|
||||
endif
|
||||
|
||||
hi link CTagsImport Statement
|
||||
hi link CTagsMember Function
|
||||
|
||||
hi link CTagsGlobalConstant Constant
|
||||
|
||||
" These do not yet have support, I can't get them to appear
|
||||
hi link EnumerationValue Float
|
||||
hi link EnumerationName Identifier
|
||||
hi link DefinedName WarningMsg
|
||||
hi link LocalVariable WarningMsg
|
||||
hi link Structure WarningMsg
|
||||
hi link Union WarningMsg
|
||||
endif
|
||||
|
||||
" TODO check for more obscure syntax groups that they're ok
|
||||
|
||||
@@ -0,0 +1,59 @@
|
||||
" Maintainer: Krzysztof Goj <Krzysztof-dot-Goj-at-gmail-dot-com>
|
||||
" Last Change: 27th March 2009
|
||||
|
||||
set background=dark
|
||||
hi clear
|
||||
if exists("syntax_on")
|
||||
syntax reset
|
||||
endif
|
||||
|
||||
let g:colors_name="zmrok"
|
||||
|
||||
" general colors
|
||||
hi Normal guifg=#F8F8F8 guibg=#141414
|
||||
hi Cursor guifg=Black guibg=Green gui=none
|
||||
hi LineNr guifg=#777777 guibg=Black
|
||||
hi NonText guifg=#808080 guibg=#202020
|
||||
|
||||
hi StatusLine guifg=#F8F8F8 guibg=#202020 gui=bold
|
||||
hi StatusLineNC guifg=#777777 guibg=#202020 gui=none
|
||||
hi VertSplit guifg=#202020 guibg=#202020 gui=none
|
||||
|
||||
" Vim >= 7.0 specific colors
|
||||
if version >= 700
|
||||
hi CursorLine guibg=#0d0d0d
|
||||
hi CursorColumn guibg=#0d0d0d
|
||||
hi MatchParen guifg=Black guibg=#FFCC20 gui=bold
|
||||
|
||||
hi Pmenu guifg=#141414 guibg=#CDA869
|
||||
hi PmenuSel guifg=#F8F8F8 guibg=#9B703F
|
||||
hi PmenuSbar guibg=#DAEFA3
|
||||
hi PmenuThumb guifg=#8F9D6A
|
||||
endif
|
||||
|
||||
"Syntax hilighting
|
||||
|
||||
hi Comment guifg=#888888
|
||||
hi Error guifg=red guibg=#141414
|
||||
hi Todo guifg=red guibg=#141414 gui=bold
|
||||
|
||||
hi Constant guifg=#CF593C
|
||||
hi Exception guifg=#CF593C
|
||||
hi Operator guifg=#DFCC77
|
||||
|
||||
hi Special guifg=orange
|
||||
hi SpecialChar guifg=orange
|
||||
hi String guifg=#D9FF77
|
||||
hi Character guifg=#FFCE43
|
||||
hi Number guifg=#FACE43
|
||||
|
||||
hi Statement guifg=#A56A30 gui=bold
|
||||
hi Keyword guifg=#A56A30 gui=bold
|
||||
hi Label guifg=#A56A30 gui=bold
|
||||
|
||||
hi Identifier guifg=#C7CA87 gui=none
|
||||
hi Type guifg=#C7CA87 gui=none
|
||||
hi Function guifg=#C7CA87 gui=none
|
||||
hi StorageClass guifg=#C7CA87 gui=none
|
||||
|
||||
hi PreProc guifg=khaki4
|
||||
Reference in New Issue
Block a user