fix(restart): distinguish v:exitreason for :restart! #40801

This commit is contained in:
Barrett Ruth
2026-07-18 03:07:14 -05:00
committed by GitHub
parent 28818702e9
commit 12e8db3847
5 changed files with 20 additions and 6 deletions

View File

@@ -256,6 +256,7 @@ vim.v.exiting = ...
--- - "" Not exiting, or exit was canceled.
--- - "quit" `:quit`, `:qall`, `:wq`, `ZZ`, `ZQ`, etc.
--- - "restart" `:restart`, `ZR`.
--- - "restart!" `:restart!`, `[count]``ZR`.
---
--- Example:
---