Replies: 1 comment 1 reply
-
Sure thing, open a feature request (or a PR if you wish to contribute) and we can add it :) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using
complete-path
withctrl-x ctrl-f
to find/complete a path in the link part of a Markdown link. For example, with the cursor at|
in a line like[Some link](|)
, hitctrl-x ctrl-f
to find and complete a path.This results in initializing the path to
[Some link]()
in fzf and replacing that text if a path is selected, I believe because the regex used to find the bounds of the path only considers whitespace and quote characters.fzf-lua/lua/fzf-lua/complete.lua
Line 51 in 15d5cd9
I propose exposing that regex to configuration so that users can choose whatever is relevant for their application. A simpler alternative might be to add some more punctuation characters to the regex, maybe parentheses and square brackets.
Beta Was this translation helpful? Give feedback.
All reactions