mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-27 04:44:30 +00:00
Pass through remote kernel's language on legacy selection (#21088)
When selecting an active kernel based on legacy usage, have remote kernels defer to language within kernelspec. Release Notes: - N/A
This commit is contained in:
parent
9833756224
commit
5766afe710
1 changed files with 3 additions and 2 deletions
|
@ -258,8 +258,9 @@ impl ReplStore {
|
||||||
runtime_specification.kernelspec.language.to_lowercase()
|
runtime_specification.kernelspec.language.to_lowercase()
|
||||||
== language_at_cursor.code_fence_block_name().to_lowercase()
|
== language_at_cursor.code_fence_block_name().to_lowercase()
|
||||||
}
|
}
|
||||||
KernelSpecification::Remote(_) => {
|
KernelSpecification::Remote(remote_spec) => {
|
||||||
unimplemented!()
|
remote_spec.kernelspec.language.to_lowercase()
|
||||||
|
== language_at_cursor.code_fence_block_name().to_lowercase()
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.cloned()
|
.cloned()
|
||||||
|
|
Loading…
Reference in a new issue