Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: :MkdnCreateLink does not seem to work on visually-selected text #258

Open
daneorie opened this issue Dec 2, 2024 · 0 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@daneorie
Copy link

daneorie commented Dec 2, 2024

Bug description
I'm trying to create a link using :MkdnCreateLink over a visually-selected bit of text, but it only creates the link using the first character of the selection. Due to a dash in the middle of the text, a normal mode invocation does not fit my needs. I could theoretically create a shortcut to generate the link myself, but I want to be able to use my custom transform_explicit function.

Reproduction steps
Steps to reproduce the behavior:

  1. Highlight the entire text below using viW.
ABC-123
  1. Execute: :'<,'>MdknCreateLink

Expected behavior

[ABC-123](folder/abc-123.md)

Error output and/or screenshots

[A](folder/a.md)BC-123

Context

  • OS: macOS Sonoma 14.7.1 (23H222)
  • Neovim version: v0.10.2
  • Package manager: Lazy

I'm pretty sure that this worked in the past, so maybe something broke it. With NeoVim, it very well could be something on my end.

@daneorie daneorie added the bug Something isn't working label Dec 2, 2024
@daneorie daneorie changed the title Bug: [DESCRIPTION] Bug: MkdnCreateLink does not seem to work on visually-selected text Dec 2, 2024
@daneorie daneorie changed the title Bug: MkdnCreateLink does not seem to work on visually-selected text Bug: :MkdnCreateLink does not seem to work on visually-selected text Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants