From 983e878cff1cf4bbac326c15d0ab3d14f6ac40a3 Mon Sep 17 00:00:00 2001 From: Kyle Kelley Date: Fri, 22 Nov 2024 16:18:18 -0800 Subject: [PATCH] pass through remote kernel's language on legacy selection --- crates/repl/src/repl_store.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/crates/repl/src/repl_store.rs b/crates/repl/src/repl_store.rs index 27854c0eee..49c24bce68 100644 --- a/crates/repl/src/repl_store.rs +++ b/crates/repl/src/repl_store.rs @@ -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()