This commit is contained in:
parent
0569ede1a5
commit
c378b712d3
@ -112,13 +112,12 @@ func (r *Row) updateSyntax() {
|
||||
|
||||
r.Hl = make([]int, r.RenderSize())
|
||||
|
||||
|
||||
for i < r.RenderSize() {
|
||||
ch := r.render[i]
|
||||
prevHl := highlight.Normal
|
||||
|
||||
if i > 0 {
|
||||
prevHl = r.Hl[i - 1]
|
||||
prevHl = r.Hl[i-1]
|
||||
}
|
||||
|
||||
if (unicode.IsDigit(ch) && (prevSep || prevHl == highlight.Number)) ||
|
||||
|
Loading…
Reference in New Issue
Block a user