use ssh lsp store (#17655)
Release Notes: - ssh remoting: Added support for booting langauge servers (in limited circumstances) --------- Co-authored-by: Mikayla <mikayla@zed.dev>
This commit is contained in:
parent
130f19d8f9
commit
36eb1c15ea
45 changed files with 1553 additions and 671 deletions
|
@ -161,7 +161,7 @@ impl Inventory {
|
|||
cx: &AppContext,
|
||||
) -> Vec<(TaskSourceKind, TaskTemplate)> {
|
||||
let task_source_kind = language.as_ref().map(|language| TaskSourceKind::Language {
|
||||
name: language.name(),
|
||||
name: language.name().0,
|
||||
});
|
||||
let language_tasks = language
|
||||
.and_then(|language| language.context_provider()?.associated_tasks(file, cx))
|
||||
|
@ -207,7 +207,7 @@ impl Inventory {
|
|||
.as_ref()
|
||||
.and_then(|location| location.buffer.read(cx).language_at(location.range.start));
|
||||
let task_source_kind = language.as_ref().map(|language| TaskSourceKind::Language {
|
||||
name: language.name(),
|
||||
name: language.name().0,
|
||||
});
|
||||
let file = location
|
||||
.as_ref()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue