mirror of
https://github.com/Yggdroot/indentLine.git
synced 2025-12-08 21:14:45 +08:00
fix issue #328
This commit is contained in:
@@ -307,11 +307,7 @@ endfunction
|
|||||||
|
|
||||||
"{{{1 function! s:Disable()
|
"{{{1 function! s:Disable()
|
||||||
function! s:Disable()
|
function! s:Disable()
|
||||||
if exists("b:indentLine_enabled") && b:indentLine_enabled
|
if s:Filter() == 0
|
||||||
return
|
|
||||||
elseif exists("b:indentLine_leadingSpaceEnabled") && b:indentLine_leadingSpaceEnabled
|
|
||||||
return
|
|
||||||
elseif s:Filter() == 0
|
|
||||||
call s:IndentLinesDisable()
|
call s:IndentLinesDisable()
|
||||||
call s:LeadingSpaceDisable()
|
call s:LeadingSpaceDisable()
|
||||||
endif
|
endif
|
||||||
|
|||||||
Reference in New Issue
Block a user