A simple CPU rendered GUI IDE experience.
Diffstat (limited to 'src/commands.rs')
| -rw-r--r-- | src/commands.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands.rs b/src/commands.rs index 31e7102..ab398dc 100644 --- a/src/commands.rs +++ b/src/commands.rs @@ -13,7 +13,7 @@ use rust_analyzer::lsp::ext::*; use crate::FG; use crate::edi::{Editor, lsp_m}; -use crate::lsp::{Anonymize, PathURI, Rq}; +use crate::lsp::{PathURI, Rq}; use crate::menu::charc; use crate::menu::generic::{GenericMenu, MenuData}; use crate::text::{RopeExt, SortTedits, col, color_}; @@ -266,7 +266,7 @@ impl Editor { Cmd::RARunnables => { let p = self.text.to_l_position(*self.text.cursor.first()); let o = o.to_owned(); - let x = l.runtime.spawn(l.runnables(&o, None)?); + let x = l.runtime.spawn(l.runnables(&o, p)?); self.state = crate::edi::st::State::Runnables(Rq::new(x)); } _ => unimplemented!(), |