Skip to content

Commit a9b0d73

Browse files
committed
Disable syncOnStart for now
1 parent 1b17160 commit a9b0d73

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/server.rs

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,12 @@ impl LanguageServer for Backend {
101101
}
102102

103103
async fn initialized(&self, _: InitializedParams) {
104-
if self.should_sync() {
105-
self.do_sync().await;
106-
}
104+
// FIXME: this causes the server to crash ONLY when used through
105+
// Sublime Text's LSP framework.
106+
//
107+
// if self.should_sync() {
108+
// self.do_sync().await;
109+
// }
107110
self.client
108111
.log_message(MessageType::INFO, "initialized!")
109112
.await;

0 commit comments

Comments
 (0)