mirror of
https://github.com/Yggdroot/indentLine.git
synced 2026-02-07 02:10:57 +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()
|
function! <SID>SetIndentLine()
|
||||||
if !exists("b:indentLine_enabled")
|
if !exists("b:indentLine_enabled")
|
||||||
let b:indentLine_enabled = g:indentLine_enabled
|
let b:indentLine_enabled = g:indentLine_enabled
|
||||||
|
if !b:indentLine_enabled
|
||||||
|
return
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
let space = &l:shiftwidth
|
let space = &l:shiftwidth
|
||||||
|
|||||||
Reference in New Issue
Block a user