hop.nvim
hop.nvim copied to clipboard
HopWord* bugs when cursor on empty line while using vscode-neovim
Bugs happend on lastest vcode and vscode-neovim plugin on window10, while neovim version is 0.9.1
Just as below, my cursor is on a empty line begin and do sj (map to HopWordAC) in vscode-neovim, errors raised.
But HopWord raised no errors when on empy line , but could not do buffer jump, show in below
when cursor on word and do the same thing, no bugs happened.
Found it is related win neovim-0.9, not only vscode-neovim
I'm also having this error with vscode-neovim and neovim-0.9, but on MacOS...
I also had the same out of range error and i fixed it by adding the following to init.lua at line 129:
if current_width == 0 then
end_col = current_width
else
end_col = current_width - 1
end