Open dyskette opened 1 month ago
BTW, while I'm not too familiar with lua and vim functions, I was testing in the cmdline how lua evaluates vim.fn.executable
in an if
. It looks like it results in a unintuitive result on Windows, because when vim.fn.executable
returns 0
it gets evaluated as true
and 1
gets evaluated as false
. I think it's necessary to force the comparison to the expected result, e.g. vim.fn.executable("gzip") == 1
.
If I'm wrong, just ignore my comment, but I saw others if statements relying on vim.fn.executable
as well that probably need some review.
Hi š
It looks like my installation of codeium in neovim cannot extract the downloaded server gzip file. I saw in another issue that it is supposed to find out if it's currently using powershell and in that case use a script to extract the downloaded archive, but in my case it just fails with the following message:
I am using Windows 11 and Powershell Core 7.4.3
I checked if maybe I had some gzip command, and it looks like that is not the case:
I checked in neovim's cmdline trying to find gzip
:lua print(vim.fn.executable("gzip"))
and it returns0
.My installation is pretty straightforward, it's basically the same as in the README with the cmp source configured.
For now, in my local installation I did a small change to fix it.
Cheers