lewis6991 / satellite.nvim

Decorate scrollbar for Neovim
MIT License
542 stars 20 forks source link

marks not synchronized on search #58

Open luckasRanarison opened 10 months ago

luckasRanarison commented 10 months ago

Hi, thanks for this amazing plugin! It's weird that I couldn't find an issue for this, or is it unsupported? When searching using / or ? there is one character offset, for example I want to search f but the marks only update after typing another character, same when deleting a character. I've tried inspecting and the marks returned by the update functions are correct when typing.

Steps to reproduce the behavior:

  1. Add some text
  2. Type a character (there should be no mark)
  3. Type another one (the current marks are now the result of the previous character search)

Expected behavior Marks should be updated after a character has been typed.

NVIM v0.10.0-dev-1301+g30d311ebc Build type: RelWithDebInfo LuaJIT 2.1.1695653777