Fixed bug with calculating guide size.

This commit is contained in:
Nate Kane 2011-03-06 23:48:08 +10:00
parent 7af506c797
commit d9c596352a

View File

@ -216,7 +216,7 @@ endfunction
function! indent_guides#calculate_guide_size()
let l:guide_size = g:indent_guides_guide_size
if l:guide_size > s:indent_size
if l:guide_size == 0 || l:guide_size > s:indent_size
let l:guide_size = s:indent_size
endif