marks.nvim icon indicating copy to clipboard operation
marks.nvim copied to clipboard

Marks list doesnt refresh if mark has been added/deleted

Open lordgreg opened this issue 1 year ago • 0 comments

Hi, if I have MarksListBuf open, adding/deleting marks wont trigger the refresh

Steps to reproduce

  • create a mark in your current Buffer, mx
  • open MarksListBuf
  • your mark x is listed
  • switch to your buffer with ctrl+ww
  • add another mark ma

Current result

  • MarksListBuf keeps only the x mark listed
  • to refresh, you have to close the Mars List Buffer and reopen it.

Expected result

  • MarksListBuf should refresh so that current state is being presented

Possible solutions?

opts = {

  -- add another refresh_interval property:
  -- this would refresh the Buffer List Window (only if opened)
  refresh_interval_list: 1000ms
}

lordgreg avatar Nov 18 '24 10:11 lordgreg