Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

Commit

Permalink
fix(rome_lsp): update all diagnostics after a configuration change
Browse files Browse the repository at this point in the history
  • Loading branch information
leops committed Nov 14, 2022
1 parent c4797d3 commit 9698085
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/rome_lsp/src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,7 @@ impl LanguageServer for LSPServer {
if possible_rome_json.display().to_string() == CONFIG_NAME {
self.session.update_configuration().await;
self.session.fetch_client_configuration().await;
self.session.update_all_diagnostics().await;
// for now we are only interested to the configuration file,
// so it's OK to exist the loop
break;
Expand Down

0 comments on commit 9698085

Please sign in to comment.