From a9b0d73830b763569ec74b303f04e0887a566ddf Mon Sep 17 00:00:00 2001 From: jdkato Date: Wed, 17 May 2023 18:03:07 -0700 Subject: [PATCH] Disable `syncOnStart` for now --- src/server.rs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/server.rs b/src/server.rs index 5ff5ed5..0ebecfe 100644 --- a/src/server.rs +++ b/src/server.rs @@ -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;