mirror of
https://github.com/preservim/vim-indent-guides.git
synced 2025-11-09 18:33:47 -05:00
Fixed bug with calculating guide size.
This commit is contained in:
@@ -216,7 +216,7 @@ endfunction
|
||||
function! indent_guides#calculate_guide_size()
|
||||
let l:guide_size = g:indent_guides_guide_size
|
||||
|
||||
if l:guide_size > s:indent_size
|
||||
if l:guide_size == 0 || l:guide_size > s:indent_size
|
||||
let l:guide_size = s:indent_size
|
||||
endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user