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
672 stars 36 forks source link

Clarify on website that tabnine.vim is adapted from YCM #2

Closed theodcr closed 3 years ago

theodcr commented 6 years ago

First thanks for this great tool!

The website tabnine.com doesn't mention that YouCompleteMe installation instructions should be followed in order to install this plugin. This only becomes clear when landing on this repo.

So at first TabNine didn't "work as soon as I installed it" following only the instructions on tabnine.com ;-)

dharmab commented 5 years ago

👍 One of the big reasons I tried TabNine was so I could remove the hook for install.py from my vimrc, disappointed to find that YCM's involved installer is still present.

zxqfl commented 5 years ago

Sorry about that. What error do you get when you don't run install.py?

dharmab commented 5 years ago

There's no error; completion silently doesn't function.

On Sun, Nov 25, 2018, 17:36 Jacob Jackson <notifications@github.com wrote:

Sorry about that. What error do you get when you don't run install.py?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/zxqfl/tabnine-vim/issues/2#issuecomment-441488667, or mute the thread https://github.com/notifications/unsubscribe-auth/AEPplIMX3ZYgKU_-BHAtDol5C9uDqeY4ks5uyzeDgaJpZM4YSM_A .

ggerganov commented 5 years ago

Does this mean I cannot use both YCM and TabNine? I already had YCM installed, and installing TabNine does not change the way auto completion works. I am also missing TabNine::* commands (which I understand from other issues can be triggered by typing in Insert mode).

zxqfl commented 5 years ago

Can you try removing YCM from your .vimrc?

ggerganov commented 5 years ago

Yes, commenting the YCM stuff in my .vimrc file makes TabNine work. Thanks!

jtr860830 commented 5 years ago

So, YCM and TabNine can't work together ?

zxqfl commented 5 years ago

That's correct.

mrquincle commented 4 years ago

If you use Vundle, after commenting YCM you will have to actually remove it.

In your ~/.vimrc:

" Plugin 'Valloric/YouCompleteMe'

Then in vim itself:

:PluginClean

After this, tabnine will do the completions rather than ycm.