diff options
author | Marco Hinz <mh.codebro@gmail.com> | 2016-12-01 15:00:58 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-01 15:00:58 +0100 |
commit | d2e8c76dc22460ddfde80477dd93aab3d5866506 (patch) | |
tree | 4eb42bd2ae42fe8b683b3a4ea5ecb1b1a788183f /src/nvim/main.c | |
parent | 5194e3bc458eaa43871398bacea01e2d8b30b7e6 (diff) | |
parent | df2ffe48ce71ec2653bd74a566a8f4ef585e1d55 (diff) | |
download | rneovim-d2e8c76dc22460ddfde80477dd93aab3d5866506.tar.gz rneovim-d2e8c76dc22460ddfde80477dd93aab3d5866506.tar.bz2 rneovim-d2e8c76dc22460ddfde80477dd93aab3d5866506.zip |
Merge PR #5651 from mhinz/vv/exitval
Diffstat (limited to 'src/nvim/main.c')
-rw-r--r-- | src/nvim/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nvim/main.c b/src/nvim/main.c index 1bd622bdba..9b9976ac0a 100644 --- a/src/nvim/main.c +++ b/src/nvim/main.c @@ -557,6 +557,8 @@ void getout(int exitval) if (exmode_active) exitval += ex_exitval; + set_vim_var_nr(VV_EXITING, exitval); + /* Position the cursor on the last screen line, below all the text */ ui_cursor_goto((int)Rows - 1, 0); |