let g:indentLine_enabled decide whether to show indentLine at startup

This commit is contained in:
ppwwyyxx
2013-01-28 22:07:08 +08:00
parent 068fc8d835
commit 754ec01117

View File

@@ -58,6 +58,9 @@ endfunction
function! <SID>SetIndentLine()
if !exists("b:indentLine_enabled")
let b:indentLine_enabled = g:indentLine_enabled
if !b:indentLine_enabled
return
endif
endif
let space = &l:shiftwidth