diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2019-05-26 18:11:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-26 18:11:49 +0200 |
commit | aabda31d5491398783ba70b2e24c58e68454db28 (patch) | |
tree | d7e098a649e5a13a2ff118d827a1a32078db60a1 /src/nvim/lua/executor.c | |
parent | 2b4c0181ba5a064b13f4e96e364124245e6f494c (diff) | |
parent | 8ed54bbec3b07d16658547d6bf38a1e804800341 (diff) | |
download | rneovim-aabda31d5491398783ba70b2e24c58e68454db28.tar.gz rneovim-aabda31d5491398783ba70b2e24c58e68454db28.tar.bz2 rneovim-aabda31d5491398783ba70b2e24c58e68454db28.zip |
Merge pull request #9547 from bfredl/rpc_multiline_err
messages: use proper multiline errors for rpcrequest and API wrappers
Diffstat (limited to 'src/nvim/lua/executor.c')
-rw-r--r-- | src/nvim/lua/executor.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/lua/executor.c b/src/nvim/lua/executor.c index 72b97736fc..4e94c10283 100644 --- a/src/nvim/lua/executor.c +++ b/src/nvim/lua/executor.c @@ -54,6 +54,7 @@ static void nlua_error(lua_State *const lstate, const char *const msg) size_t len; const char *const str = lua_tolstring(lstate, -1, &len); + msg_ext_set_kind("lua_error"); emsgf_multiline(msg, (int)len, str); lua_pop(lstate, 1); |