diff --git a/after/plugin/indentLine.vim b/after/plugin/indentLine.vim index a11a159..bf64511 100644 --- a/after/plugin/indentLine.vim +++ b/after/plugin/indentLine.vim @@ -72,9 +72,7 @@ function! s:SetIndentLine() endif let pattern = line('$') < g:indentLine_maxLines ? 'v' : 'c' - for i in range(space+1, space * g:indentLine_indentLevel + 1, space) - execute 'syntax match IndentLine /\%(^\s\+\)\@<=\%' . i . pattern . ' / containedin=ALL conceal cchar=' . g:indentLine_char - endfor + exec 'syn match IndentLine /\%(^\)\@! \{'.(space-1).'}\zs / containedin=ALL contained conceal cchar=' . g:indentLine_char endif endfunction