Skip to content

Commit

Permalink
Use default foreground for empty indent chars
Browse files Browse the repository at this point in the history
Fixes #403
  • Loading branch information
zyedidia committed Oct 10, 2016
1 parent 6acda99 commit 104699e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/micro/view.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() &&
Expand Down

0 comments on commit 104699e

Please sign in to comment.