aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/api/private/helpers.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2018-05-10 19:18:58 +0200
committerGitHub <noreply@github.com>2018-05-10 19:18:58 +0200
commit8d40b3617c8bb10af5d4d4abcab0dfe77a4e807d (patch)
treecded38835bde85bc8a1682303617f84bf2549f7e /src/nvim/api/private/helpers.c
parent1cd8517344c0d99ca6fb3246c70f78d271993cf6 (diff)
parent966e7abc4960746b4dde618807fb5516d162ae2d (diff)
downloadrneovim-8d40b3617c8bb10af5d4d4abcab0dfe77a4e807d.tar.gz
rneovim-8d40b3617c8bb10af5d4d4abcab0dfe77a4e807d.tar.bz2
rneovim-8d40b3617c8bb10af5d4d4abcab0dfe77a4e807d.zip
Merge #8371 'API: more reliable/descriptive VimL errors'
Diffstat (limited to 'src/nvim/api/private/helpers.c')
-rw-r--r--src/nvim/api/private/helpers.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/nvim/api/private/helpers.c b/src/nvim/api/private/helpers.c
index 12a4279dd7..637e24575d 100644
--- a/src/nvim/api/private/helpers.c
+++ b/src/nvim/api/private/helpers.c
@@ -120,9 +120,7 @@ bool try_end(Error *err)
// try_enter/try_leave.
trylevel--;
- // Without this it stops processing all subsequent VimL commands and
- // generates strange error messages if I e.g. try calling Test() in a
- // cycle
+ // Set by emsg(), affects aborting(). See also enter_cleanup().
did_emsg = false;
if (got_int) {