mirror of
https://github.com/Yggdroot/indentLine.git
synced 2025-12-28 06:36:52 +08:00
let g:indentLine_enabled decide whether to show indentLine at startup
This commit is contained in:
@@ -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