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
Error executing vim.schedule lua callback: .../neovim/0.10.2_1/share/nvim/runtime/lua/vim/lsp/util.lua:483: index out of range
stack traceback:
[C]: in function 'get_line_byte_from_position'
.../neovim/0.10.2_1/share/nvim/runtime/lua/vim/lsp/util.lua:483: in function 'apply_text_edits'
.../nvim/lazy/blink.cmp/lua/blink/cmp/accept/text-edits.lua:34: in function 'apply_text_edits'
.../share/nvim/lazy/blink.cmp/lua/blink/cmp/accept/init.lua:34: in function <.../share/nvim/lazy/blink.cmp/lua/blink/cmp/accept/init.lua:6>
...im/lazy/blink.cmp/lua/blink/cmp/windows/autocomplete.lua:173: in function 'accept'
.../.local/share/nvim/lazy/blink.cmp/lua/blink/cmp/init.lua:142: in function <.../.local/share/nvim/lazy/blink.cmp/lua/blink/cmp/init.lua:142>
I assume it's because you're treating characters as is and not as unicode symbols.
Steps to reproduce
create a string with non-latin symbols (this is important)
place the cursor at the end of the string
trigger the completion window
accept the completion
Example
Screen.Recording.2024-10-25.at.10.18.34.mov
The text was updated successfully, but these errors were encountered:
Saghen
changed the title
[BUG] index out of range (unicode related)
Text edit fails with unicode chars
Oct 25, 2024
I'm getting this error:
I assume it's because you're treating characters as is and not as unicode symbols.
Steps to reproduce
Example
Screen.Recording.2024-10-25.at.10.18.34.mov
The text was updated successfully, but these errors were encountered: