mirror of
https://github.com/preservim/vim-indent-guides.git
synced 2025-11-10 02:43:46 -05:00
Removed the indent_guides#get_indent_size function.
This commit is contained in:
@@ -169,7 +169,7 @@ endfunction
|
||||
" plugin is enabled.
|
||||
"
|
||||
function! indent_guides#init_script_vars()
|
||||
let s:indent_size = indent_guides#get_indent_size()
|
||||
let s:indent_size = &l:shiftwidth
|
||||
let s:guide_size = indent_guides#calculate_guide_size()
|
||||
let s:hi_normal = indent_guides#capture_highlight('Normal')
|
||||
|
||||
@@ -216,14 +216,6 @@ function! indent_guides#calculate_guide_size()
|
||||
return l:guide_size
|
||||
endfunction
|
||||
|
||||
"
|
||||
" Gets the indent size, which depends on whether soft-tabs or hard-tabs are
|
||||
" being used.
|
||||
"
|
||||
function! indent_guides#get_indent_size()
|
||||
return &l:shiftwidth
|
||||
endfunction
|
||||
|
||||
"
|
||||
" Captures and returns the output of highlight group definitions.
|
||||
"
|
||||
|
||||
Reference in New Issue
Block a user