From 104699e5006bde8aabfb00411d397565ffc44c94 Mon Sep 17 00:00:00 2001 From: Zachary Yedidia Date: Mon, 10 Oct 2016 18:40:21 -0400 Subject: [PATCH] Use default foreground for empty indent chars Fixes #403 --- cmd/micro/view.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/micro/view.go b/cmd/micro/view.go index 7bf320e1..3167a750 100644 --- a/cmd/micro/view.go +++ b/cmd/micro/view.go @@ -753,7 +753,7 @@ func (v *View) DisplayView() { // First the user may have configured an `indent-char` to be displayed to show that this // is a tab character lineIndentStyle := defStyle - if style, ok := colorscheme["indent-char"]; ok { + if style, ok := colorscheme["indent-char"]; ok && v.Buf.Settings["indentchar"].(string) != " " { lineIndentStyle = style } if v.Cursor.HasSelection() &&