Skip to content

Commit 60f435e

Browse files
committed
Removed the indent_guides#get_indent_size function.
1 parent 5f48d29 commit 60f435e

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

autoload/indent_guides.vim

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ endfunction
169169
" plugin is enabled.
170170
"
171171
function! indent_guides#init_script_vars()
172-
let s:indent_size = indent_guides#get_indent_size()
172+
let s:indent_size = &l:shiftwidth
173173
let s:guide_size = indent_guides#calculate_guide_size()
174174
let s:hi_normal = indent_guides#capture_highlight('Normal')
175175

@@ -216,14 +216,6 @@ function! indent_guides#calculate_guide_size()
216216
return l:guide_size
217217
endfunction
218218

219-
"
220-
" Gets the indent size, which depends on whether soft-tabs or hard-tabs are
221-
" being used.
222-
"
223-
function! indent_guides#get_indent_size()
224-
return &l:shiftwidth
225-
endfunction
226-
227219
"
228220
" Captures and returns the output of highlight group definitions.
229221
"

0 commit comments

Comments
 (0)