summaryrefslogtreecommitdiff
path: root/src/vim.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-11-30 17:42:10 +0100
committerBram Moolenaar <Bram@vim.org>2020-11-30 17:42:10 +0100
commitf0068c5154a99b86b2c4515a4b93c003b2445cf4 (patch)
tree18198d6cb57c407acaddf8c7ed8b62a41fed2805 /src/vim.h
parent23515b4ef7580af8b9d3b964a558ab2007cacda5 (diff)
downloadvim-git-f0068c5154a99b86b2c4515a4b93c003b2445cf4.tar.gz
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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vim.h b/src/vim.h
index 6dcc509aa..eda07348c 100644
--- a/src/vim.h
+++ b/src/vim.h
@@ -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