lewis6991 / satellite.nvim

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

Bug: notification spam in uncommited files with gitsign enabled #36

Closed chrisgrieser closed 1 year ago

chrisgrieser commented 1 year ago

Describe the bug In an untracked file (= whole file has gitsigns in the signcolumn), deleting a larger number of lines results in dozens of notifications that the gitsign row is out of range.

To Reproduce Steps to reproduce the behavior:

  1. create a new file in a git repo
  2. have gitsigns enabled for this plugin
  3. fill the new file with a few dozen lines
  4. delete a larger number of lines at once

Expected behavior no notification spam should happen. Or at the very least having an configuration option to turn off those notifications.

Screenshots

Pasted image 2022-12-27 22 08 44 Pasted image 2022-12-27 22 07 08
chrisgrieser commented 1 year ago

okay, since the latest updates those are fixed, but instead deleting a lot of lines results in a bunch of these messages:

 error(satellite.nvim): handler=gitsigns buf=125 row=30 
 opts={ id = 31, priority = 20, sign_hl_group = "GitSig 
 gnsChange", sign_text = " │" }, err="line value outsi 
 ide range" 
lewis6991 commented 1 year ago

This should be fixed now. Please let me know if not.