diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-03-10 20:59:13 -0400 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-12-01 08:52:33 -0500 |
commit | 56f5e3bd6b9ea522f8099eb6f602490144f3c64a (patch) | |
tree | 60fecf042baf13d10316c5c3aa0b940d32b1bf0a /src/nvim/ex_cmds2.c | |
parent | 11249ad0216c6dac1ba20558038d0fb75add0495 (diff) | |
download | rneovim-56f5e3bd6b9ea522f8099eb6f602490144f3c64a.tar.gz rneovim-56f5e3bd6b9ea522f8099eb6f602490144f3c64a.tar.bz2 rneovim-56f5e3bd6b9ea522f8099eb6f602490144f3c64a.zip |
vim-patch:8.0.1525: using :wqa exits even if a job runs in a terminal window
Problem: Using :wqa exits even if a job runs in a terminal window. (Jason
Felice)
Solution: Check if a terminal has a running job. (closes vim/vim#2654)
https://github.com/vim/vim/commit/7a76092a51fc5446426a4bfd9eb6503ec61bf9e9
Diffstat (limited to 'src/nvim/ex_cmds2.c')
-rw-r--r-- | src/nvim/ex_cmds2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/ex_cmds2.c b/src/nvim/ex_cmds2.c index dfbbe2e1ac..3b9c44c3cd 100644 --- a/src/nvim/ex_cmds2.c +++ b/src/nvim/ex_cmds2.c @@ -1297,7 +1297,7 @@ bool check_changed(buf_T *buf, int flags) if (flags & CCGD_EXCMD) { no_write_message(); } else { - no_write_message_nobang(); + no_write_message_nobang(curbuf); } return true; } |