codota / tabnine-nvim

Tabnine Client for Neovim
https://tabnine.com
362 stars 32 forks source link

fixes the "Cursor position outside buffer" #158

Closed gachikuku closed 8 months ago

gachikuku commented 8 months ago

Error on issue #157

aarondill commented 8 months ago

Note: this just reverts #156 and doesn't maintain the fix to that issue

aarondill commented 8 months ago

@gachikuku could you add these lines before line 28 and send a video showing the error again?

print("line: "..fn.line("."))
print("#lines: "..#lines)
print("rendered: "..state.rendered_completion)