mirror of
https://github.com/Myriad-Dreamin/tinymist.git
synced 2025-11-25 05:22:52 +00:00
feat: prepare for parallelizing lsp requests (#342)
* feat: migrate steal_sync to snapshot_sync * feat: correctly make world/analysis snapshot * very rayon * dev: recover async lsp request * gg * dev: pin * fix: make server stable * dev: disable concurrent server by default * dev: very sync
This commit is contained in:
parent
5e4e1e9877
commit
6fcad1c1c7
36 changed files with 1736 additions and 1318 deletions
|
|
@ -32,7 +32,7 @@ fn convert_diagnostic(
|
|||
let source = ctx.world().source(id)?;
|
||||
lsp_range = diagnostic_range(&source, span, ctx.position_encoding());
|
||||
} else {
|
||||
uri = path_to_url(&ctx.analysis.root)?;
|
||||
uri = path_to_url(&ctx.root)?;
|
||||
lsp_range = LspRange::default();
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue