hop.nvim
hop.nvim copied to clipboard
Markers are out of place when we have `<tab>` in the latest version of NeoVim
Problem
Markers are out of place when we have <tab>
in the latest version of NeoVim. (Please see the screenshot at the bottom of this issue.)
My environment
- Linux - amd64
- NeoVim Version: current master (revision: 8e6971695)
- hop.nvim Version: current main (revisoin: 03f04348)
How to reproduce this issue
- minimal init.lua
vim.cmd('set runtimepath+=$PWD/tmp/hop.nvim')
vim.cmd('set noexpandtab')
require('hop').setup{}
- Procedure
$ mkdir tmp
$ git clone https://github.com/phaazon/hop.nvim.git ./tmp/hop.nvim
$ nvim ./test.txt
- type
i
to change toInsert
mode - type
<tab>test<esc>
- type
yyp
to duplicate the line - type
:HopWord<cr>
Then, the markers are out of place like below:
If my investigation is correct, this issue started to happen after this PR (inline virtual text) was merged into the NeoVim. (But sorry, I could not catch the root cause...)