Improved error parsing and use warnings for golint instead of errors

This commit is contained in:
Zachary Yedidia
2016-04-30 14:30:42 -04:00
parent 908bcb22ae
commit 59e71a4a0c
2 changed files with 7 additions and 4 deletions

View File

@@ -401,6 +401,7 @@ func (v *View) GutterMessage(section string, lineN int, msg string, kind int) {
v.messages[section] = append(messages, gutterMsg)
}
// ClearGutterMessages clears all gutter messages from a given section
func (v *View) ClearGutterMessages(section string) {
v.messages[section] = []GutterMessage{}
}