Fix formatting
All checks were successful
timw4mail/gilo/pipeline/head This commit looks good

This commit is contained in:
Timothy Warren 2021-04-16 11:46:16 -04:00
parent 0569ede1a5
commit c378b712d3
2 changed files with 2 additions and 3 deletions

View File

@ -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)) ||