diff --git a/cmd/micro/cellview.go b/cmd/micro/cellview.go index b0f80502..e8813a79 100644 --- a/cmd/micro/cellview.go +++ b/cmd/micro/cellview.go @@ -161,7 +161,8 @@ func (c *CellView) Draw(buf *Buffer, top, height, left, width int) { c.lines[viewLine][viewCol].width = charWidth indentStyle := curStyle - if group, ok := colorscheme["indent-char"]; ok { + ch := buf.Settings["indentchar"].(string) + if group, ok := colorscheme["indent-char"]; ok && !IsStrWhitespace(ch) && ch != "" { indentStyle = group }