mirror of
https://github.com/Yggdroot/indentLine.git
synced 2026-10-26 23:53:17 +08:00
should read shiftwidth var from buffer locale
This commit is contained in:
1 parent
6cd4526bc3
commit
aa17434c87
1 file changed
+1
-1
@@ -37,7 +37,7 @@ function! <SID>InitColor()
|
||||
endfunction
|
||||
|
||||
function! <SID>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
|
||||
|
||||
Reference in new issue
Block a user