Skip to content

Commit

Permalink
Move indent guides coloring to vimrc.before
Browse files Browse the repository at this point in the history
  • Loading branch information
johntyree committed Dec 1, 2013
1 parent 7460001 commit 5ef6d0e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
7 changes: 0 additions & 7 deletions .vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -739,13 +739,6 @@
" }

" indent_guides {
if !exists('g:spf13_no_indent_guides_autocolor')
let g:indent_guides_auto_colors = 1
else
" For some colorschemes, autocolor will not work (eg: 'desert', 'ir_black')
autocmd VimEnter,Colorscheme * :hi IndentGuidesOdd guibg=#212121 ctermbg=3
autocmd VimEnter,Colorscheme * :hi IndentGuidesEven guibg=#404040 ctermbg=4
endif
let g:indent_guides_start_level = 2
let g:indent_guides_guide_size = 1
let g:indent_guides_enable_on_vim_startup = 1
Expand Down
7 changes: 7 additions & 0 deletions .vimrc.before
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,13 @@
" Don't turn conceallevel or concealcursor
" let g:spf13_no_conceal = 1

" For some colorschemes, autocolor will not work (eg: 'desert', 'ir_black')
" Indent guides will attempt to set your colors smartly. If you
" want to control them yourself, do it here.
" let g:indent_guides_auto_colors = 0
" autocmd VimEnter,Colorscheme * :hi IndentGuidesOdd guibg=#212121 ctermbg=233
" autocmd VimEnter,Colorscheme * :hi IndentGuidesEven guibg=#404040 ctermbg=234

" }

" Use fork before if available {
Expand Down

0 comments on commit 5ef6d0e

Please sign in to comment.