From 60f435ee57eef875c4c35c89c528c0f1ec182e23 Mon Sep 17 00:00:00 2001 From: Nate Kane Date: Sun, 13 Mar 2011 21:32:28 +1100 Subject: [PATCH] Removed the `indent_guides#get_indent_size` function. --- autoload/indent_guides.vim | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/autoload/indent_guides.vim b/autoload/indent_guides.vim index 0f9de09..7267cfd 100644 --- a/autoload/indent_guides.vim +++ b/autoload/indent_guides.vim @@ -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. "