Revert "Externalizing color scheme configs outside plugin folder" -

screwed up command line vim

This reverts commit 20d884b842.
This commit is contained in:
Yan Pritzker 2013-05-13 10:07:22 -05:00
parent 3c9ab42c4d
commit c798b1ee89
3 changed files with 5 additions and 18 deletions

View File

@ -62,3 +62,7 @@ hi! link htmlLink Include
hi! CursorLine cterm=NONE gui=NONE
hi! Visual ctermbg=233
hi! Type gui=bold
" Enforce the colors set here
au VimEnter * so ~/.vim/plugin/settings/solarized.vim

View File

@ -1,24 +1,7 @@
" Make it beautiful - colors and fonts
" http://ethanschoonover.com/solarized/vim-colors-solarized
let s:myTheme='solarized'
exec 'colorscheme ' . s:myTheme
" If there's a custom powerline theme too, load it. Otherwise load the
" solarized one just so it won't look very bad.
let s:powerlineCustom="~/.vim/colors-settings/" . s:myTheme . "-powerline.vim"
if filereadable(expand(s:powerlineCustom))
exec "au VimEnter * so " . s:powerlineCustom
else
exec "au VimEnter * so ~/.vim/colors-settings/solarized-powerline.vim"
endif
let s:colorSchemeCustom="~/.vim/colors-settings/" . s:myTheme . ".vim"
if filereadable(expand(s:colorSchemeCustom))
exec "au VimEnter * so " . s:colorSchemeCustom
endif
colorscheme solarized
set background=dark
if has("gui_running")