This commit is contained in:
Liang Ding 2014-09-09 21:53:53 +08:00
parent c620f9dd9b
commit c300d8bd41
1 changed files with 5 additions and 2 deletions

View File

@ -24,9 +24,12 @@ outputWS.onmessage = function(e) {
to: CodeMirror.Pos(lint.lineNo, 0), to: CodeMirror.Pos(lint.lineNo, 0),
message: lint.msg, severity: lint.severity}); message: lint.msg, severity: lint.severity});
} }
}
// 触发一次 gutter lint
CodeMirror.signal(wide.curEditor, "change", wide.curEditor);
return; return;
}
} else if ('go get' === data.cmd || 'go install' === data.cmd) { } else if ('go get' === data.cmd || 'go install' === data.cmd) {
$('#output').text($('#output').text() + data.output); $('#output').text($('#output').text() + data.output);
} }