From 7ab92f7c3f9206ea0cbf0ca9b75a65f8a2d15cd1 Mon Sep 17 00:00:00 2001 From: Jacob Niehus Date: Mon, 17 Nov 2014 14:20:02 -0700 Subject: [PATCH] Set size of indent guide to `tabstop` value when `noexpandtab` is used --- autoload/indent_guides.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/indent_guides.vim b/autoload/indent_guides.vim index 9bc95fa..53d4ff9 100644 --- a/autoload/indent_guides.vim +++ b/autoload/indent_guides.vim @@ -180,7 +180,7 @@ endfunction " plugin is enabled. " function! indent_guides#init_script_vars() - if &l:shiftwidth > 0 + if &l:shiftwidth > 0 && &l:expandtab let s:indent_size = &l:shiftwidth else let s:indent_size = &l:tabstop