mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-26 12:21:50 +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()
|
||||
== language_at_cursor.code_fence_block_name().to_lowercase()
|
||||
}
|
||||
KernelSpecification::Remote(_) => {
|
||||
unimplemented!()
|
||||
KernelSpecification::Remote(remote_spec) => {
|
||||
remote_spec.kernelspec.language.to_lowercase()
|
||||
== language_at_cursor.code_fence_block_name().to_lowercase()
|
||||
}
|
||||
})
|
||||
.cloned()
|
||||
|
|
Loading…
Reference in a new issue