tzachar / cmp-tabnine

TabNine plugin for hrsh7th/nvim-cmp
MIT License
287 stars 28 forks source link

Tabnine doesn't work on windows #13

Closed dvchoudh closed 2 years ago

dvchoudh commented 2 years ago

I'm using windows, not WSL. I'm basically trying to install tabnine through this plugin. This is what I have in my plugins.lua file:

use { 'tzachar/cmp-tabnine', run='./install.sh', requires = 'hrsh7th/nvim-cmp' }

But I get this whenever I open a file:

image

Is there any solution to this?

tzachar commented 2 years ago

Currently, native windows is not supported by this plugin. To support windows, a windows specific install script needs to be written. If you have access to wondows, i would welcome a pull request.

dvchoudh commented 2 years ago

Oh ok, sadly I have no idea how to write scripts which are actually compatible with windows. I will try though!

EtiamNullam commented 2 years ago

I think this issue should be kept open as its still valid.

tzachar commented 2 years ago

I don't think its an issue. Feel free to open a pull request though.

EtiamNullam commented 2 years ago

Don't get me wrong. I know its your repo and your rules but I think nobody that wants to contribute will be looking through closed issues. For sure majority consider closed issues as fixed, impossible or rejected. Its still a problem for many users and its potentially possible to fix it so why not leave it open?

tzachar commented 2 years ago

Its very easy to fix, if you have a working Windows setup. I don't.... Feel free to submit a PR.

EtiamNullam commented 2 years ago

For anyone interested the install script for windows of tabnine source for deoplete can be of some use:

https://github.com/tbodt/deoplete-tabnine/blob/master/install.ps1