Clear cargo check
diagnostics when flycheck is turned off
This commit is contained in:
parent
7f226fc912
commit
3e356c1fd3
@ -404,6 +404,7 @@ fn reload_flycheck(&mut self) {
|
||||
Some(it) => it,
|
||||
None => {
|
||||
self.flycheck = Vec::new();
|
||||
self.diagnostics.clear_check();
|
||||
return;
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user