Create a special worktree for settings files
To avoid LSP server restarts/leaks when those are being opened co-authored-by: Piotr <piotr@zed.dev>
This commit is contained in:
parent
ab8585ee7e
commit
5e0cabc394
4 changed files with 34 additions and 14 deletions
|
@ -973,7 +973,7 @@ impl Project {
|
|||
}
|
||||
|
||||
// Start all the newly-enabled language servers.
|
||||
for (worktree, language) in dbg!(language_servers_to_start) {
|
||||
for (worktree, language) in language_servers_to_start {
|
||||
let worktree_path = worktree.read(cx).abs_path();
|
||||
self.start_language_servers(&worktree, worktree_path, language, cx);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue