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