Revert "Externalizing color scheme configs outside plugin folder" -
screwed up command line vim
This reverts commit 20d884b842
.
This commit is contained in:
parent
3c9ab42c4d
commit
c798b1ee89
@ -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
|
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user