Skip to content
This repository has been archived by the owner on Jul 29, 2023. It is now read-only.

Commit

Permalink
fix issue #103
Browse files Browse the repository at this point in the history
  • Loading branch information
Yggdroot committed Jan 21, 2015
1 parent 75f443c commit 41fb611
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions after/plugin/indentLine.vim
Original file line number Diff line number Diff line change
Expand Up @@ -116,10 +116,11 @@ endfunction

"{{{1 function! s:IndentLinesDisable()
function! s:IndentLinesDisable()
if exists("b:indentLine_enabled") && b:indentLine_enabled
let b:indentLine_enabled = 0
let b:indentLine_enabled = 0
try
syntax clear IndentLine
endif
catch /^Vim\%((\a\+)\)\=:E28/ " catch error E28
endtry
endfunction

"{{{1 function! s:IndentLinesToggle()
Expand Down Expand Up @@ -189,10 +190,11 @@ endfunction

"{{{1 function! s:LeadingSpaceDisable()
function! s:LeadingSpaceDisable()
if exists("b:indentLine_leadingSpaceEnabled") && b:indentLine_leadingSpaceEnabled
let b:indentLine_leadingSpaceEnabled = 0
let b:indentLine_leadingSpaceEnabled = 0
try
syntax clear IndentLineLeadingSpace
endif
catch /^Vim\%((\a\+)\)\=:E28/ " catch error E28
endtry
endfunction

"{{{1 function! s:LeadingSpaceToggle()
Expand Down

0 comments on commit 41fb611

Please sign in to comment.