indent guides defaults

This commit is contained in:
Pavel Pertsev
2015-05-13 22:31:37 +03:00
parent 2480e48880
commit 5e20a2b15d

View File

@@ -590,14 +590,16 @@ hi! link SneakStreakStatusLine Search
" }}}
" Indent Guides: {{{
let g:indent_guides_auto_colors = 0
if !exists('g:indent_guides_auto_colors')
let g:indent_guides_auto_colors = 0
if g:gruvbox_invert_indent_guides == 0
call s:HL('IndentGuidesOdd', 'bg', 'dark2')
call s:HL('IndentGuidesEven', 'bg', 'dark1')
else
call s:HL('IndentGuidesOdd', 'bg', 'dark2', 'inverse')
call s:HL('IndentGuidesEven', 'bg', 'dark3', 'inverse')
if g:gruvbox_invert_indent_guides == 0
call s:HL('IndentGuidesOdd', 'bg', 'dark2')
call s:HL('IndentGuidesEven', 'bg', 'dark1')
else
call s:HL('IndentGuidesOdd', 'bg', 'dark2', 'inverse')
call s:HL('IndentGuidesEven', 'bg', 'dark3', 'inverse')
endif
endif
" }}}