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

Big error chunk, when using the Autocomplete in javascript comments #90

Closed UmrenTV closed 3 years ago

UmrenTV commented 3 years ago

please complete the following information:

I tested the same, in the same file even, on my Windows and Linux. I dualboot. Tested in nvim-qt.exe on Windows, vim on Kali, exactly the same issue.

I couldn't find where the logs are located, to provide any, but here is a screenshot of the errors I was getting:

tabnine errors

To get this, I was commenting on a function I created in javascript, using normal // line comment. I had a function fetchData and when I was commenting the function, it appeared as Tabnine suggestion, I accept it, and this big chunk appears. When I correct or accept suggestion.

If you need more info, let me know. Thanks!

P.S.: (Update): I have recorded a little video reproducing the same error again. Here:

https://user-images.githubusercontent.com/20478714/128618831-f1c0aba3-0b67-4a49-a0ac-defafa60ce90.mp4

P.S.: (Update#2): I have tried in multiple ways, to reproduce the error outside of a comment block, and it won't happen. Which makes me think, that it only happens while I am commenting stuffs, and accept suggestion.

Here is another video proving that:

https://user-images.githubusercontent.com/20478714/128618938-b2689625-9212-4616-ac3b-760bc2f63700.mp4