jakewvincent / mkdnflow.nvim

Fluent navigation and management of markdown notebooks
GNU General Public License v3.0
684 stars 41 forks source link

Bug: Link destruction doesn't work properly if multiple links on a line #252

Open jakewvincent opened 1 month ago

jakewvincent commented 1 month ago

Bug description When destroying a link, if the link is not the last link on a line, the link is not properly destroyed, and the text of the line is messed up.

Reproduction steps Steps to reproduce the behavior:

  1. Write a line with two links in it.
  2. Try to destroy the first link.

Expected behavior The first link should be destroyed.