aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/eval.h
diff options
context:
space:
mode:
authorMarco Hinz <mh.codebro@gmail.com>2016-11-22 14:53:07 +0100
committerMarco Hinz <mh.codebro@gmail.com>2016-12-01 14:57:22 +0100
commit147b03e7d01464030955976e08028bcd337f9ff5 (patch)
tree34b35b45f984d15c90b8b103a165b52ed9950595 /src/nvim/eval.h
parent5194e3bc458eaa43871398bacea01e2d8b30b7e6 (diff)
downloadrneovim-147b03e7d01464030955976e08028bcd337f9ff5.tar.gz
rneovim-147b03e7d01464030955976e08028bcd337f9ff5.tar.bz2
rneovim-147b03e7d01464030955976e08028bcd337f9ff5.zip
Add v:exiting
Contains the exit value nvim will use. Before exiting, it is v:null. That way jobs or autocmds (in VimLeavePre or VimLeave) can check if Neovim is about to quit and with what exit value. Closes #4666.
Diffstat (limited to 'src/nvim/eval.h')
-rw-r--r--src/nvim/eval.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/eval.h b/src/nvim/eval.h
index cc7827b801..630e309442 100644
--- a/src/nvim/eval.h
+++ b/src/nvim/eval.h
@@ -134,6 +134,7 @@ typedef enum {
VV_TYPE_DICT,
VV_TYPE_FLOAT,
VV_TYPE_BOOL,
+ VV_EXITING,
} VimVarIndex;
/// All recognized msgpack types