mirror of
https://github.com/preservim/vim-indent-guides.git
synced 2025-11-10 10:53:47 -05:00
Removed the indent_guides#get_indent_size function.
This commit is contained in:
@@ -169,7 +169,7 @@ endfunction
|
|||||||
" plugin is enabled.
|
" plugin is enabled.
|
||||||
"
|
"
|
||||||
function! indent_guides#init_script_vars()
|
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:guide_size = indent_guides#calculate_guide_size()
|
||||||
let s:hi_normal = indent_guides#capture_highlight('Normal')
|
let s:hi_normal = indent_guides#capture_highlight('Normal')
|
||||||
|
|
||||||
@@ -216,14 +216,6 @@ function! indent_guides#calculate_guide_size()
|
|||||||
return l:guide_size
|
return l:guide_size
|
||||||
endfunction
|
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.
|
" Captures and returns the output of highlight group definitions.
|
||||||
"
|
"
|
||||||
|
|||||||
Reference in New Issue
Block a user