You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I type with Cyrillic alphabet, and getting suggestions, pressing the key binding to accept gives this error:
Error 02:24:02 PM msg_show.lua_error Error executing vim.schedule lua callback: /usr/share/nvim/runtime/lua/vim/lsp/util.lua:485: index out of range
stack traceback:
[C]: in function 'get_line_byte_from_position'
/usr/share/nvim/runtime/lua/vim/lsp/util.lua:485: in function 'apply_text_edits'
...l/share/nvim/lazy/copilot.lua/lua/copilot/suggestion.lua:489: in function ''
vim/_editor.lua: in function <vim/_editor.lua:0>
Looking into lua/copilot/suggestion.lua, I see this:
When I type with Cyrillic alphabet, and getting suggestions, pressing the key binding to accept gives this error:
Looking into
lua/copilot/suggestion.lua
, I see this:If I change
utf-16
toutf-8
, everything seems to work fine. Any reason forutf-16
here?The text was updated successfully, but these errors were encountered: