From 721a2fa158ba968136f95bd79c51f1ae43982889 Mon Sep 17 00:00:00 2001 From: Volodymyr Medvid Date: Wed, 28 Aug 2013 19:36:34 +0300 Subject: [PATCH] fix issue #51 --- after/plugin/indentLine.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/after/plugin/indentLine.vim b/after/plugin/indentLine.vim index 28b65d3..5635052 100644 --- a/after/plugin/indentLine.vim +++ b/after/plugin/indentLine.vim @@ -91,7 +91,7 @@ endfunction "{{{1 function! SetIndentLine() function! SetIndentLine() let b:indentLine_enabled = 1 - let space = &l:shiftwidth + let space = &l:shiftwidth == 0 ? &l:tabstop : &l:shiftwidth if g:indentLine_showFirstIndentLevel exec 'syn match IndentLine /^ / containedin=ALL conceal cchar=' . g:indentLine_first_char