Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
This repository was 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

@110y

Description

@110y

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions