mirror of
https://github.com/Hopiu/micro.git
synced 2026-03-18 23:10:33 +00:00
parent
7e3aa337f6
commit
1cf4baa743
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue