Expose reedline EditCommand::Complete command (#6863)

This should have been done in 5eee33c7e4
This commit is contained in:
Dan Davison 2022-10-22 12:32:07 -04:00 committed by GitHub
parent ab0a6b6ca6
commit 1ec41a0ab4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -964,6 +964,7 @@ fn edit_from_record(
let char = extract_char(value, config)?;
EditCommand::MoveLeftBefore(char)
}
"complete" => EditCommand::Complete,
e => {
return Err(ShellError::UnsupportedConfigValue(
"reedline EditCommand".to_string(),