Skip to content

Commit

Permalink
changed vim.uv to vim.loop, because vim.uv is too new.
Browse files Browse the repository at this point in the history
  • Loading branch information
bugabinga committed Oct 30, 2023
1 parent 04b3858 commit e7db8eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit e7db8eb

Please # to comment.