aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/lua/executor.c
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2023-09-03 00:38:10 +0200
committerGitHub <noreply@github.com>2023-09-03 00:38:10 +0200
commitf30844008bdd313b03a19486159f571a067e68b9 (patch)
tree4d540689c620784a11b7a2ad21f40da6e364774d /src/nvim/lua/executor.c
parent4ea4d72af800c40511afd006ea202d008e653c3f (diff)
downloadrneovim-f30844008bdd313b03a19486159f571a067e68b9.tar.gz
rneovim-f30844008bdd313b03a19486159f571a067e68b9.tar.bz2
rneovim-f30844008bdd313b03a19486159f571a067e68b9.zip
build: download busted from own neovim/deps repository
Downloading the necessary files all at once instead of doing dependency handling with luarocks speeds up installation immensely. We speed up the process even more by using luv as a replacement for the C modules in the busted dependencies, which allows us to skip costly compilation times. Co-authored-by: bfredl <bjorn.linse@gmail.com>
Diffstat (limited to 'src/nvim/lua/executor.c')
-rw-r--r--src/nvim/lua/executor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/lua/executor.c b/src/nvim/lua/executor.c
index 4aaf4397f9..f2efd866f8 100644
--- a/src/nvim/lua/executor.c
+++ b/src/nvim/lua/executor.c
@@ -140,8 +140,8 @@ void nlua_error(lua_State *const lstate, const char *const msg)
}
if (in_script) {
- os_errmsg(str);
- os_errmsg("\n");
+ fprintf(stderr, msg, (int)len, str);
+ fprintf(stderr, "\n");
} else {
msg_ext_set_kind("lua_error");
semsg_multiline(msg, (int)len, str);