Permalink
Browse files

Merge pull request #160 from JoveYu/3.0

add indent_guides
  • Loading branch information...
2 parents 595c4f6 + a959b20 commit e6188c39b1106c8f7f2af47a58a209680756eebd @spf13 committed Oct 6, 2012
Showing with 15 additions and 0 deletions.
  1. +14 −0 .vimrc
  2. +1 −0 .vimrc.bundles
View
@@ -499,6 +499,20 @@
nnoremap <c-u> :UndotreeToggle<CR>
" }
+ " indent_guides {
+ if !exists('g:spf13_no_indent_guides_autocolor')
+ let g:indent_guides_auto_colors = 1
+ else
+ " for some colorscheme ,autocolor will not work,like 'desert','ir_black'.
+ autocmd VimEnter,Colorscheme * :hi IndentGuidesOdd guibg=#212121 ctermbg=3
+ autocmd VimEnter,Colorscheme * :hi IndentGuidesEven guibg=#404040 ctermbg=4
+ endif
+ set ts=4 sw=4 et
+ let g:indent_guides_start_level = 2
+ let g:indent_guides_guide_size = 1
+ let g:indent_guides_enable_on_vim_startup = 1
+ " }
+
" }
" GUI Settings {
View
@@ -90,6 +90,7 @@
Bundle 'corntrace/bufexplorer'
Bundle 'mbbill/undotree'
Bundle 'myusuf3/numbers.vim'
+ Bundle 'nathanaelkane/vim-indent-guides'
endif
" General Programming

0 comments on commit e6188c3

Please sign in to comment.