Fix assignment order in `set_prompt`

1 job for vi-mode-callback in 1 minute and 53 seconds (queued for 1 second)
latest
Status Job ID Name Coverage
  Test
passed #23631
build

00:01:53