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

Junk characters in multiline suggestions #89

Closed iBug closed 1 year ago

iBug commented 3 years ago

System Information

Attached file: tabnine.log

Details

TabNine produces junk characters (namely ^@, the NUL byte) in candidates for multiline suggestions.

image

When a candidate with junk characters is selected and deleted char-by-char back to the junk position, something else shows up.

image

gz#4752

iBug commented 3 years ago

@bilucodota Hello, why is this closed without any context?

bilucodota commented 3 years ago

Hi @iBug, thanks for reaching out! tabnine-vim had a a major release yesterday. Basically we've taken the latest YCM and re-implemented Tabnine on top of it. The code was moved to https://github.com/tabnine/YouCompleteMe (feel free to update) so I had to close all the issues on this repo.

I see your issue still reproduces on the new implementation - I will look into it. Will keep you updated.

bilucodota commented 3 years ago

Hi @iBug

I pushed a partial fix https://github.com/tabnine/YouCompleteMe/commit/cd9c925130299064ca8d60ed41217d066ca8dd7c There's a known issue when accepting completion with <CR> but other than that it should work