errors: remove 0 from caret line

pull/4267/head
Delyan Angelov 2020-04-06 20:41:33 +03:00
parent bc2ea2f3d4
commit 333e725380
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ pub fn formated_error(kind string /*error or warn*/, emsg string, filepath strin
pointerline << if emanager.support_color { term.bold(term.blue('^')) } else { '^' }
break
}
clines << '${0:5d}| ' + pointerline.join('')
clines << ' ' + pointerline.join('')
}
}
source_context += clines.join('\n')