mirror of
https://github.com/Yggdroot/indentLine.git
synced 2025-12-08 21:14:45 +08:00
should read shiftwidth var from buffer locale
This commit is contained in:
@@ -37,7 +37,7 @@ function! <SID>InitColor()
|
|||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! <SID>SetIndentLine()
|
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
|
exe 'syn match IndentLine /\(^\s\+\)\@<=\%'.i.'v / containedin=ALL conceal cchar=' . g:indentLine_char
|
||||||
endfor
|
endfor
|
||||||
endfunction
|
endfunction
|
||||||
|
|||||||
Reference in New Issue
Block a user