diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-11-30 17:42:10 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-11-30 17:42:10 +0100 |
commit | f0068c5154a99b86b2c4515a4b93c003b2445cf4 (patch) | |
tree | 18198d6cb57c407acaddf8c7ed8b62a41fed2805 /src/vim.h | |
parent | 23515b4ef7580af8b9d3b964a558ab2007cacda5 (diff) |
patch 8.2.2070: can't get the exit value in VimLeave(Pre) autocommandsv8.2.2070
Problem: Can't get the exit value in VimLeave or VimLeavePre autocommands.
Solution: Add v:exiting like in Neovim. (Yegappan Lakshmanan, closes #7395)
Diffstat (limited to 'src/vim.h')
-rw-r--r-- | src/vim.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1996,7 +1996,8 @@ typedef int sock_T; #define VV_ECHOSPACE 93 #define VV_ARGV 94 #define VV_COLLATE 95 -#define VV_LEN 96 // number of v: vars +#define VV_EXITING 96 +#define VV_LEN 97 // number of v: vars // used for v_number in VAR_BOOL and VAR_SPECIAL #define VVAL_FALSE 0L // VAR_BOOL |