Unnamed repository; edit this file 'description' to name the repository.
commands: Allow any number of arguments in `:bc`, `:bc!`
Limiting to zero arguments was incorrect - a set of buffers can be specified.
Michael Davis 11 months ago
parent 14cab4b · commit 2d4c2a1
-rw-r--r--helix-term/src/commands/typed.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/helix-term/src/commands/typed.rs b/helix-term/src/commands/typed.rs
index b570e50b..4317993c 100644
--- a/helix-term/src/commands/typed.rs
+++ b/helix-term/src/commands/typed.rs
@@ -2613,7 +2613,7 @@ pub const TYPABLE_COMMAND_LIST: &[TypableCommand] = &[
fun: buffer_close,
completer: CommandCompleter::all(completers::buffer),
signature: Signature {
- positionals: (0, Some(0)),
+ positionals: (0, None),
..Signature::DEFAULT
},
},
@@ -2624,7 +2624,7 @@ pub const TYPABLE_COMMAND_LIST: &[TypableCommand] = &[
fun: force_buffer_close,
completer: CommandCompleter::all(completers::buffer),
signature: Signature {
- positionals: (0, Some(0)),
+ positionals: (0, None),
..Signature::DEFAULT
},
},