File tree Expand file tree Collapse file tree 2 files changed +5
-7
lines changed
Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -101,12 +101,9 @@ impl LanguageServer for Backend {
101101 }
102102
103103 async fn initialized ( & self , _: InitializedParams ) {
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- // }
104+ if self . should_sync ( ) {
105+ self . do_sync ( ) . await ;
106+ }
110107 self . client
111108 . log_message ( MessageType :: INFO , "initialized!" )
112109 . await ;
Original file line number Diff line number Diff line change @@ -203,7 +203,8 @@ impl ValeManager {
203203 let _ = Command :: new ( exe. as_os_str ( ) )
204204 . current_dir ( cwd. clone ( ) )
205205 . args ( args)
206- . status ( ) ?;
206+ // NOTE: Calling `status` causes the server to crash?
207+ . output ( ) ?;
207208
208209 Ok ( ( ) )
209210 }
You can’t perform that action at this time.
0 commit comments