Allow `:theme` to show current theme (#13192)

Updates the signature for the command to take 0 arguments. This probably
regressed during 0efa8207d8.
pull/13172/head^2
Nick 2025-03-25 15:13:26 +05:30 committed by GitHub
parent 13b2dc31f5
commit 5adb4b7413
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -2924,7 +2924,7 @@ pub const TYPABLE_COMMAND_LIST: &[TypableCommand] = &[
fun: theme,
completer: CommandCompleter::positional(&[completers::theme]),
signature: Signature {
positionals: (1, Some(1)),
positionals: (0, Some(1)),
..Signature::DEFAULT
},
},