mirror of
https://github.com/hexedtech/codemp-nvim.git
synced 2024-11-22 15:34:53 +01:00
fix: dont print
This commit is contained in:
parent
47aab0cbc6
commit
85f5a634b8
1 changed files with 4 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
||||||
local plugin_dir = vim.fn.fnamemodify(debug.getinfo(1, "S").source:sub(2), ":p:h") -- got this from https://lazy.folke.io/developers#building
|
local plugin_dir = vim.fn.fnamemodify(debug.getinfo(1, "S").source:sub(2), ":p:h") -- got this from https://lazy.folke.io/developers#building
|
||||||
local native_path = plugin_dir .. "/native.so" -- TODO get extension based on platform
|
|
||||||
|
local native_path = plugin_dir .. "/lua/codemp/native.so" -- TODO get extension based on platform
|
||||||
local download_url = "https://codemp.dev/releases/lua/codemp_native-linux.so" -- TODO get url based on platform
|
local download_url = "https://codemp.dev/releases/lua/codemp_native-linux.so" -- TODO get url based on platform
|
||||||
print("downloading '" .. download_url .. "' into " .. native_path)
|
|
||||||
local res = vim.system({"curl", "-s", "-o", native_path, download_url }):wait() -- TODO can we run this asynchronously?
|
vim.system({"curl", "-s", "-o", native_path, download_url }):wait() -- TODO can we run this asynchronously?
|
||||||
print("downloaded: " .. res)
|
|
||||||
|
|
Loading…
Reference in a new issue