mirror of
https://github.com/Yggdroot/indentLine.git
synced 2026-10-15 18:42:52 +08:00
let g:indentLine_enabled decide whether to show indentLine at startup
This commit is contained in:
1 parent
068fc8d835
commit
754ec01117
1 file changed
+3
@@ -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
|
||||
|
||||
Reference in new issue
Block a user