nimsuggest: bugfix: don't intertwine errors and suggestions
This commit is contained in:
parent
5d125ca716
commit
d9ad6465af
1 changed files with 3 additions and 0 deletions
|
|
@ -155,6 +155,9 @@ proc execute(cmd: IdeCmd, file, dirtyfile: string, line, col: int;
|
|||
if cmd == ideChk:
|
||||
msgs.structuredErrorHook = errorHook
|
||||
msgs.writelnHook = proc (s: string) = discard
|
||||
else:
|
||||
msgs.structuredErrorHook = nil
|
||||
msgs.writelnHook = proc (s: string) = discard
|
||||
if cmd == ideUse and suggestVersion != 2:
|
||||
graph.resetAllModules()
|
||||
var isKnownFile = true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue