From d9c596352a8033cf13211fbc488f88352de0a5e6 Mon Sep 17 00:00:00 2001 From: Nate Kane Date: Sun, 6 Mar 2011 23:48:08 +1000 Subject: [PATCH] Fixed bug with calculating guide size. --- autoload/indent_guides.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/indent_guides.vim b/autoload/indent_guides.vim index bead3f6..36a61cf 100644 --- a/autoload/indent_guides.vim +++ b/autoload/indent_guides.vim @@ -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