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

Conversation

@spamwax
Copy link
Contributor

@spamwax spamwax commented Nov 10, 2022

Fix regression of #267 caused by pull#315

  • opts.col passed to nvim_buf_set_extmark() expects it to be 0-indexed. Fix incorrect behavior in multi-byte chars #315 causes an empty line to retun 1 for cursor's column. This PR checks if the current line is empty and sets the correct column in 'contexts' that'll be used later in nvim_buf_set_extmark() in set_unmatched_lines()

- opts.col passed to nvim_buf_set_extmark() expects it to be 0-indexed.
  pull#315 causes an empty line to retun 1 for cursor's column.
  This PR checks if the current line is empty and sets the correct
  column in 'contexts' that'll be used later in nvim_buf_set_extmark() in
  set_unmatched_lines()
@phgz
Copy link

phgz commented Dec 28, 2022

Is something preventing this PR from being merged?

@brettmitchelldev
Copy link

brettmitchelldev commented Jan 11, 2023

Been waiting for this for a while. I'm pinned to a previous (and pretty old) commit so that I can continue to use this plugin. I'm excited for this issue to be resolved so I can update.

@gorillamoe
Copy link

Until the maintainer finds time to maintain the PRs in this repo again, I'll try to get maintenance / somehow critical stuff into this fork: https://github.com/mistweaverco/hop.nvim

I cherry picked your commit into the master branch of the fork already :) Thanks for your effort!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants