We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
tabstop
shiftwidth=0
1 parent eec1b62 commit 7aac816Copy full SHA for 7aac816
autoload/indent_guides.vim
@@ -180,7 +180,11 @@ endfunction
180
" plugin is enabled.
181
"
182
function! indent_guides#init_script_vars()
183
- let s:indent_size = &l:shiftwidth
+ if &l:shiftwidth > 0
184
+ let s:indent_size = &l:shiftwidth
185
+ else
186
+ let s:indent_size = &l:tabstop
187
+ endif
188
let s:guide_size = indent_guides#calculate_guide_size()
189
let s:hi_normal = indent_guides#capture_highlight('Normal')
190
0 commit comments