change string for missing documentation

pull/8675/merge^2
Matt Paras 2024-10-31 16:32:18 -07:00
parent 749f3eb553
commit ee3035aa38
1 changed files with 1 additions and 12 deletions

View File

@ -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 {