diff --git a/autoload/indent_guides.vim b/autoload/indent_guides.vim index 9bc95fa..53d4ff9 100644 --- a/autoload/indent_guides.vim +++ b/autoload/indent_guides.vim @@ -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