Allow :theme to show current theme (#13192)

Updates the signature for the command to take 0 arguments. This probably
regressed during 0efa8207d8.
This commit is contained in:
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

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
},
},