This PR reverts #17173, as it introduced a segfault when opening any
Gleam project and the language server starts up.
This reverts commit a850731b0e
.
Release Notes:
- N/A
This commit is contained in:
parent
a850731b0e
commit
03d8e54fd4
7 changed files with 102 additions and 438 deletions
|
@ -169,12 +169,7 @@ impl SnippetProvider {
|
|||
|
||||
let (mut entries, _) = watcher.await;
|
||||
while let Some(entries) = entries.next().await {
|
||||
process_updates(
|
||||
this.clone(),
|
||||
entries.into_iter().map(|event| event.path).collect(),
|
||||
cx.clone(),
|
||||
)
|
||||
.await?;
|
||||
process_updates(this.clone(), entries, cx.clone()).await?;
|
||||
}
|
||||
Ok(())
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue