fix: print when downloading

should not be a silent action
This commit is contained in:
əlemi 2024-09-05 05:45:46 +02:00
parent 3c3c1fd7c4
commit 2389ec7be3
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -21,5 +21,6 @@ local plugin_dir = vim.fn.fnamemodify(debug.getinfo(1, "S").source:sub(2), ":p:h
-- end
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
print("downloading codemp native lua extension...")
vim.system({"curl", "-s", "-o", native_path, download_url }):wait() -- TODO can we run this asynchronously?