From e7db8ebca7fd0a604027ebf85acee52f6642c91c Mon Sep 17 00:00:00 2001 From: Oliver Jan Krylow Date: Mon, 30 Oct 2023 21:06:36 +0100 Subject: [PATCH] changed `vim.uv` to `vim.loop`, because `vim.uv` is too new. --- build.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.lua b/build.lua index 90ca012..0bbe966 100755 --- a/build.lua +++ b/build.lua @@ -6,11 +6,11 @@ function script_path() return str:match("(.*[/\\])") end -vim.uv.chdir( script_path() .. '/spectre_oxi') +vim.loop.chdir( script_path() .. '/spectre_oxi') os.execute'cargo build --release' -local sysname = vim.uv.os_uname().sysname +local sysname = vim.loop.os_uname().sysname if sysname == 'Darwin' then os.execute'cp target/release/libspectre_oxi.dylib ../lua/spectre_oxi.so'