From 8ed54bbec3b07d16658547d6bf38a1e804800341 Mon Sep 17 00:00:00 2001 From: Björn Linse Date: Thu, 24 Jan 2019 19:15:39 +0100 Subject: messages: use proper multiline error message for rpcrequest and API wrappers --- src/nvim/lua/executor.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/nvim/lua/executor.c') 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); -- cgit