Skip to content

Commit

Permalink
Disable syncOnStart for now
Browse files Browse the repository at this point in the history
  • Loading branch information
jdkato committed May 18, 2023
1 parent 1b17160 commit a9b0d73
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,12 @@ impl LanguageServer for Backend {
}

async fn initialized(&self, _: InitializedParams) {
if self.should_sync() {
self.do_sync().await;
}
// FIXME: this causes the server to crash ONLY when used through
// Sublime Text's LSP framework.
//
// if self.should_sync() {
// self.do_sync().await;
// }
self.client
.log_message(MessageType::INFO, "initialized!")
.await;
Expand Down

0 comments on commit a9b0d73

Please sign in to comment.