Set size of indent guide to tabstop value when noexpandtab is used

This commit is contained in:
Jacob Niehus 2014-11-17 14:20:02 -07:00 committed by Nate Kane
parent a397b3b549
commit 7ab92f7c3f

View File

@ -180,7 +180,7 @@ endfunction
" plugin is enabled. " plugin is enabled.
" "
function! indent_guides#init_script_vars() function! indent_guides#init_script_vars()
if &l:shiftwidth > 0 if &l:shiftwidth > 0 && &l:expandtab
let s:indent_size = &l:shiftwidth let s:indent_size = &l:shiftwidth
else else
let s:indent_size = &l:tabstop let s:indent_size = &l:tabstop