codota / tabnine-vim

Vim client for TabNine. https://vimawesome.com/plugin/tabnine-vim
https://www.tabnine.com/install/vim
GNU General Public License v3.0
669 stars 36 forks source link

LanguageClient-neovim and ccls #98

Closed theimpostor closed 1 year ago

theimpostor commented 2 years ago

please complete the following information:

Features: +acl +iconv +tui See ":help feature-compile"

system vimrc file: "$VIM/sysinit.vim" fall-back for $VIM: "/usr/local/Cellar/neovim/0.5.1/share/nvim"

Run :checkhealth for more info


 - Programming language: [e.g. js, ts, c++]
 C

 - TabNine extension version(Type `TabNine::version` in insert mode):
3.7.20

 **If the issue is related to TabNine failure, please provide log files:**  

 Type `TabNine::config` in your editor, the logs are located at the bottom of the page.

**Issue Details:**
There should be a way to integrate with [LanguageClient-neovim](https://github.com/autozimu/LanguageClient-neovim) and [ccls](https://github.com/MaskRay/ccls) such that TabNine does not create it's own instance of a C language server and is able to reuse the instance launched by LanguageClient-neovim. Assuming LanguageClient-neovim is already configured properly to use ccls as the language server, is there a way to integrate TabNine?

gz#7906
bilucodota commented 2 years ago

Hi @theimpostor Thanks for reaching out! Unfortunately Tabnine does not integrate into LanguageClient-neovim at the moment. However, there are plenty other vim integrations. Did you check them all?

https://github.com/codota/tabnine-vim#installation

theimpostor commented 2 years ago

I am aware of the alternatives, but LanguageClient-neovim works the best for me right now.

On Sun, Oct 24, 2021 at 10:00 AM Amir Bilu @.***> wrote:

Hi @theimpostor https://github.com/theimpostor Unfortunately does not integrate into LanguageClient-neovim at the moment. However, there are plenty other vim integrations. Did you check them all?

https://github.com/codota/tabnine-vim#installation

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/codota/tabnine-vim/issues/98#issuecomment-950339939, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAKAALXWRHRYKR6NAOMFVB3UIQNQDANCNFSM5GQXA6GQ .

bilucodota commented 2 years ago

The doc says it integrates well with deoplete. Tabnine has a community lugin for deoplete.. maybe this can work for you?

theimpostor commented 2 years ago

Ah, thanks for the tip, I will try it out.

Sent from my mobile

On Sun, Oct 24, 2021, 12:37 PM Amir Bilu @.***> wrote:

The doc says it integrates well with deoplete. Tabnine has a community lugin for deoplete.. maybe this can work for you?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/codota/tabnine-vim/issues/98#issuecomment-950363910, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAKAALSKVKOJJWZQ2Q2I4L3UIQ75DANCNFSM5GQXA6GQ .