mirror of https://github.com/helix-editor/helix
commands: Allow any number of arguments in `:bc`, `:bc!`
Limiting to zero arguments was incorrect - a set of buffers can be specified.pull/13170/head
parent
14cab4ba62
commit
2d4c2a170c
|
@ -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…
Reference in New Issue