aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_docmd.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-11-05 15:14:09 +0800
committerGitHub <noreply@github.com>2022-11-05 15:14:09 +0800
commit45a3e7f6694c66c3577a47c7ff1fb8bfcc2ab7be (patch)
tree0a52ff4bcb4eebd88b70e36d51a7797b3105dd96 /src/nvim/ex_docmd.c
parent86fe2c8d94d212af098002ce04c87fb73fdf9c52 (diff)
parent30cfdd0ea1f67afed6732ecbcdda9dda72a2b0a0 (diff)
downloadrneovim-45a3e7f6694c66c3577a47c7ff1fb8bfcc2ab7be.tar.gz
rneovim-45a3e7f6694c66c3577a47c7ff1fb8bfcc2ab7be.tar.bz2
rneovim-45a3e7f6694c66c3577a47c7ff1fb8bfcc2ab7be.zip
Merge pull request #20942 from zeertzjq/vim-8.2.5027
vim-patch:8.2.{3252,3919,5027}
Diffstat (limited to 'src/nvim/ex_docmd.c')
-rw-r--r--src/nvim/ex_docmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/ex_docmd.c b/src/nvim/ex_docmd.c
index dad656d8b6..ed74993b84 100644
--- a/src/nvim/ex_docmd.c
+++ b/src/nvim/ex_docmd.c
@@ -726,7 +726,7 @@ int do_cmdline(char *cmdline, LineGetter fgetline, void *cookie, int flags)
if (cstack.cs_idx >= 0) {
// If a sourced file or executed function ran to its end, report the
// unclosed conditional.
- if (!got_int && !did_throw
+ if (!got_int && !did_throw && !aborting()
&& ((getline_equal(fgetline, cookie, getsourceline)
&& !source_finished(fgetline, cookie))
|| (getline_equal(fgetline, cookie, get_func_line)