A prompt that shows the status (OK or error) of the last expression
prompt_status(expr, value, ok, visible)prompt_status() returns the prompt string.
Evaluated expression.
Its value.
Whether the evaluation succeeded.
Whether the result is visible.
Other example prompts:
new_prompt_powerline(),
prompt_devtools(),
prompt_fancy(),
prompt_git(),
prompt_mem(),
prompt_runtime()