mirror of
https://github.com/Yggdroot/indentLine.git
synced 2026-10-13 08:29:05 +08:00
fix buffer local shiftwidth variable
This commit is contained in:
1 parent
aa17434c87
commit
54b1c7f31e
1 file changed
+1
-1
@@ -37,7 +37,7 @@ function! <SID>InitColor()
|
|||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! <SID>SetIndentLine()
|
function! <SID>SetIndentLine()
|
||||||
for i in range(&l:shiftwidth+1, 100, &shiftwidth)
|
for i in range(&l:shiftwidth+1, 100, &l: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