codota / tabnine-nvim

Tabnine Client for Neovim
https://tabnine.com
338 stars 31 forks source link

Consistently says 'Tabnine Loading' in Windows but not Linux #76

Closed jakDev003 closed 1 year ago

jakDev003 commented 1 year ago

I was on a zoom call with Tzuf Stokelman and Amir Bilu about this issue. My nvim config works in Linux but not in Windows. We found out that the powershell download script was downloading the Tabnine.zip file but it was not extracting it.

We updated line 36 from: "if ($LastExitCode -eq 0) {return}" to "if ($LastExitCode -gt 0) {return}"

which fixed the problem. This will expand the zip file and remove it once expanded when the zip file is downloaded successfully.

jakDev003 commented 1 year ago

I tried creating PR's but keep getting blocked.

amirbilu commented 1 year ago

Hi @jakDev003. Thanks for having us today! Wonder why you cannot issue a PR. Anyways, I'll push the change myself. Thanks again!