diff options
author | ckipp01 <ckipp@pm.me> | 2021-04-23 14:26:33 +0200 |
---|---|---|
committer | ckipp01 <ckipp@pm.me> | 2021-04-23 14:26:33 +0200 |
commit | 2a77d9d8a401819b305c99e45b2b403e65a52bae (patch) | |
tree | 1e4d51719136e230a0089c58637805d03b32be8d /runtime/lua/vim/treesitter/language.lua | |
parent | bb33727922ca4549bb3b9b7aaaac1b535154b669 (diff) | |
download | rneovim-2a77d9d8a401819b305c99e45b2b403e65a52bae.tar.gz rneovim-2a77d9d8a401819b305c99e45b2b403e65a52bae.tar.bz2 rneovim-2a77d9d8a401819b305c99e45b2b403e65a52bae.zip |
Don't automatically force shutdown on second restart.
This is maybe a bit of a niche case, but I hit on this often as I'm
developing a server, and therefore continually restarting it to get the
latest changes of the server. Previously, I could only do this once
since if you send in a request to restart/shut down the server, it will
register it as a `tried_graceful_shutdown = true` meaning that the next
restart would force it to be killed instead of another graceful exit.
Instead, this changes the name a bit and now it will only mark
`graceful_shutdown_failed = true` _if_ it actually fails to gracefully
shutdown. This change allows for a user to restart multiple times in a
situation like mine where nothing is going wrong, but I just want to
restart continually as I'm developing without having to close and
reopen.
Diffstat (limited to 'runtime/lua/vim/treesitter/language.lua')
0 files changed, 0 insertions, 0 deletions