From aa17434c875fac84aa79f606179dae6f360b4345 Mon Sep 17 00:00:00 2001 From: NagatoPain Date: Thu, 20 Dec 2012 00:54:11 +0800 Subject: [PATCH] should read shiftwidth var from buffer locale --- 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 83fa189..b9db1e3 100644 --- a/after/plugin/indentLine.vim +++ b/after/plugin/indentLine.vim @@ -37,7 +37,7 @@ function! InitColor() endfunction function! SetIndentLine() - for i in range(&shiftwidth+1, 100, &shiftwidth) + for i in range(&l:shiftwidth+1, 100, &shiftwidth) exe 'syn match IndentLine /\(^\s\+\)\@<=\%'.i.'v / containedin=ALL conceal cchar=' . g:indentLine_char endfor endfunction