omit expire time by default in status-set-custom
MODIFY
commands/commandimpls/status.go
commands/commandimpls/status.go
@@ -244,9 +244,7 @@ func (cmd *StatusSetCustomCmd) Execute(writer io.Writer, parameters []string) {
}
errorColor := tviewutil.ColorToHex(config.GetTheme().ErrorColor)
- customStatus := map[string]string{
- "expires_at": time.Now().UTC().Add(time.Hour * 24).Format(time.RFC3339Nano),
- }
+ customStatus := make(map[string]string)
for index, param := range parameters {
switch param {
case "-s", "--status":

omit expire time by default in status-set-custom