jakewvincent / mkdnflow.nvim

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

Bug: Links created from visual selection containing multi-byte characters are not formatted correctly #171

Closed bigzhu closed 10 months ago

bigzhu commented 1 year ago

image

In virtual mode, pressing Enter to establish a link will cut off characters.

bigzhu commented 1 year ago

Same as #75

bigzhu commented 1 year ago

No, install luautf8 is not work

jakewvincent commented 10 months ago

Hi @bigzhu, sorry it has taken me a little while to get to this. I have an initial fix for this in a branch called multi-byte-char-links. Can you pull that branch and let me know if creating a link from a visual selection works as expected now? Thanks!

jakewvincent commented 10 months ago

Merged to main