diff --git a/edit/editor.go b/edit/editor.go index 2207bb3a..1534d2de 100644 --- a/edit/editor.go +++ b/edit/editor.go @@ -127,7 +127,7 @@ func (ed *Editor) refresh(fullRefresh bool) error { // If all the errors happen at the end, it is liekly complaining about missing texts that will eventually be inserted. Don't show such errors. // XXX We may need a more reliable criteria. if !atEnd(err, len(src)) { - ed.addTip("parser error (%d): %s", err) + ed.addTip("parser error: %s", err) } } if n == nil {