diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2026-04-22 13:40:41 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-04-22 13:40:41 -0400 |
| commit | 28ba06837281e14a7dc5ade143642d11475d2823 (patch) | |
| tree | e60f0b3aa160e820d2fade9e3973281d7ddc581c /test/functional/vimscript/executable_spec.lua | |
| parent | fb6aeaba2d3a38c7febd0a39cabd89685de11b9d (diff) | |
feat(:restart): v:starttime, v:exitreason #39282
Problem:
- The `ZR` feature makes it more obvious that we need some sort of flag so that
an `ExitPre` / `QuitPre` / `VimLeave` handler can handle restarts differently
than a normal exit. For example, it's common that users want `:mksession` on
restart, but perhaps not on a normal exit.
- Nvim has no way to report its "uptime".
Solution:
- Introduce `v:starttime`
- Introduce `v:exitreason`
Diffstat (limited to 'test/functional/vimscript/executable_spec.lua')
0 files changed, 0 insertions, 0 deletions
