Reopen file in Copilot language server when language or URI changes

This commit is contained in:
Antonio Scandurra 2023-04-19 14:27:26 +02:00
parent 672cf6b8c7
commit 34bcf6f072
4 changed files with 64 additions and 26 deletions

View file

@ -6643,6 +6643,7 @@ impl Editor {
multi_buffer::Event::DiagnosticsUpdated => {
self.refresh_active_diagnostics(cx);
}
multi_buffer::Event::LanguageChanged => {}
}
}