From ee3035aa38e1271956d3af61ed90dfcd3acd87ba Mon Sep 17 00:00:00 2001 From: Matt Paras Date: Thu, 31 Oct 2024 16:32:18 -0700 Subject: [PATCH] change string for missing documentation --- helix-term/src/commands.rs | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/helix-term/src/commands.rs b/helix-term/src/commands.rs index 83a318178..9bb1fb6d3 100644 --- a/helix-term/src/commands.rs +++ b/helix-term/src/commands.rs @@ -640,20 +640,9 @@ impl std::str::FromStr for MappableCommand { Some(MappableCommand::Typable { name: name.to_owned(), args, - doc: "uh oh, couldn't find the thing".to_string(), + doc: "Undocumented plugin command".to_string(), }) }) - // .or_else(|| { - // if let Some(doc) = self::engine::ScriptingEngine::get_doc_for_identifier(name) { - // Some(MappableCommand::Typable { - // name: name.to_owned(), - // args, - // doc, - // }) - // } else { - // None - // } - // }) .ok_or_else(|| anyhow!("No TypableCommand named '{}'", s)) } else if let Some(suffix) = s.strip_prefix('@') { helix_view::input::parse_macro(suffix).map(|keys| Self::Macro {