mirror of
https://github.com/helix-editor/helix.git
synced 2025-04-02 02:17:44 +03:00
commands: Allow any number of arguments in :bc
, :bc!
Limiting to zero arguments was incorrect - a set of buffers can be specified.
This commit is contained in:
parent
14cab4ba62
commit
2d4c2a170c
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue