Set size of indent guide to tabstop
value when noexpandtab
is used
This commit is contained in:
parent
a397b3b549
commit
7ab92f7c3f
@ -180,7 +180,7 @@ endfunction
|
||||
" plugin is enabled.
|
||||
"
|
||||
function! indent_guides#init_script_vars()
|
||||
if &l:shiftwidth > 0
|
||||
if &l:shiftwidth > 0 && &l:expandtab
|
||||
let s:indent_size = &l:shiftwidth
|
||||
else
|
||||
let s:indent_size = &l:tabstop
|
||||
|
Loading…
Reference in New Issue
Block a user