Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #160 from JoveYu/3.0

add indent_guides
  • Loading branch information...
commit e6188c39b1106c8f7f2af47a58a209680756eebd 2 parents 595c4f6 + a959b20
@spf13 authored
Showing with 15 additions and 0 deletions.
  1. +14 −0 .vimrc
  2. +1 −0  .vimrc.bundles
View
14 .vimrc
@@ -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
1  .vimrc.bundles
@@ -90,6 +90,7 @@
Bundle 'corntrace/bufexplorer'
Bundle 'mbbill/undotree'
Bundle 'myusuf3/numbers.vim'
+ Bundle 'nathanaelkane/vim-indent-guides'
endif
" General Programming
Please sign in to comment.
Something went wrong with that request. Please try again.