mirror of https://github.com/helix-editor/helix
change string for missing documentation
parent
749f3eb553
commit
ee3035aa38
|
@ -640,20 +640,9 @@ impl std::str::FromStr for MappableCommand {
|
||||||
Some(MappableCommand::Typable {
|
Some(MappableCommand::Typable {
|
||||||
name: name.to_owned(),
|
name: name.to_owned(),
|
||||||
args,
|
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))
|
.ok_or_else(|| anyhow!("No TypableCommand named '{}'", s))
|
||||||
} else if let Some(suffix) = s.strip_prefix('@') {
|
} else if let Some(suffix) = s.strip_prefix('@') {
|
||||||
helix_view::input::parse_macro(suffix).map(|keys| Self::Macro {
|
helix_view::input::parse_macro(suffix).map(|keys| Self::Macro {
|
||||||
|
|
Loading…
Reference in New Issue