neoclide / coc-tabnine

Tabnine integration of coc.nvim
468 stars 18 forks source link

Allow specifying tabnine executable path #10

Closed promisedlandt closed 5 years ago

promisedlandt commented 5 years ago

Hello,

I don't want this extension to manage downloading the tabnine executable. I think it's a nice service to offer, but I would prefer to download my own executable, put it in a common folder and use it for multiple editors. That way I only need to update one file to update tabnine.

Background: Currently, https://update.tabnine.com/version returns 2.0.4, so coc-tabnine downloads it. But the version is not stable, and segfaults on my system. I don't know why unstable version is mentioned in that file, but even the tabnine auto-update does not update from 2.0.2 to 2.0.4. So it seems like a bad idea to use that URL.

(I fixed the problem by manually downloading version 2.0.2, and placing it in the coc-tabnine-data directory, so I don't need assistance to get anything running).

chemzqm commented 5 years ago

Don't know how to make this work, since it requires specific folders to read versions.

promisedlandt commented 5 years ago

Just tried it out, works perfectly. Thank you very much @sQVe!