Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Markers are out of place when we have <tab> in the latest version of NeoVim #365

Open
110y opened this issue May 27, 2023 · 0 comments
Open

Comments

@110y
Copy link

110y commented May 27, 2023

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: 03f0434)

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
  1. type i to change to Insert mode
  2. type <tab>test<esc>
  3. type yyp to duplicate the line
  4. type :HopWord<cr>

Then, the markers are out of place like below:

image

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...)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant