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

How can I make vim recognize when to <Enter> on autocomplete? #86

Closed Odas0R closed 3 years ago

Odas0R commented 3 years ago

I don't think this issue is related to TabNine itself but the plugin.

I'm getting cool suggestions and all, but it's super annoying that It doesn't automate <Enter>, instead it outputs NULL ASCII Code ^@

Example: image

Any help?

Eransho commented 3 years ago

Hi @Odas0R, thanks for reporting. Just to make sure, is the 'Multiline Suggestions' feature currently enabled for you in Tabnine hub?

uolot commented 3 years ago

I face the same problem and it happens only when the multiline completion is enabled. It was annoying enough for me to turn multiline completion off (although not annoying enough to open a bug report.)

On Sun, 1 Aug 2021, 08:30 Eransho, @.***> wrote:

Hi @Odas0R https://github.com/Odas0R, thanks for reporting. Just to make sure, did you enabled the 'Multiline Suggestions' feature in Tabnine hub?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/codota/tabnine-vim/issues/86#issuecomment-890461566, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABTHN4WH7JXERM5UHDBDVTT2TSXZANCNFSM5BFBTD6Q .

Odas0R commented 3 years ago

Hi @Odas0R, thanks for reporting. Just to make sure, is the 'Multiline Suggestions' feature currently enabled for you in Tabnine hub?

Oh. Not using multiline won't affect suggestions quality?

But yea, all good if I remove it of course!

Odas0R commented 3 years ago

I face the same problem and it happens only when the multiline completion is enabled. It was annoying enough for me to turn multiline completion off (although not annoying enough to open a bug report.) On Sun, 1 Aug 2021, 08:30 Eransho, @.***> wrote: Hi @Odas0R https://github.com/Odas0R, thanks for reporting. Just to make sure, did you enabled the 'Multiline Suggestions' feature in Tabnine hub? — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#86 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABTHN4WH7JXERM5UHDBDVTT2TSXZANCNFSM5BFBTD6Q .

I guess I'll do the same 😅 When I said "annoying" was just because I was used to VSCode... Thanks.

Eransho commented 3 years ago

Looks like a bug in our vim plugin, we will add it to our backlog. Again, thanks for reporting us 😃

Odas0R commented 3 years ago

Looks like a bug in our vim plugin, we will add it to our backlog. Again, thanks for reporting us 😃

When I have the time, and if it wasn't solved yet I'll try to investigate, see if something comes up! Thanks in advance.