Conversation
This commit introduces a new custom_regex option under the fuzzy configuration. It allows users to specify a custom regular expression to be used by both implementations.
|
Thanks for the PR! Sorry for the wait, I've been away on vacation.Right now, this PR edits the regex used for getting words for the buffer source and proximity bonus. I'm not sure if that was your intention, or if you wanted to change the regex used for getting the keyword. If it's the former, we should put this option at If it's the latter, we should put an option at |
|
@saghen Hi, when I did, it was for the latter, for my use it works quite fine. Honestly, I don't mind transforming this into your first suggestion, my only concern is that creates an option specifically for an implementation. |
|
Just to confirm for |
|
Yeah, I meant vim regexes
Afaict, this is unavoidable unless we figure out a way to convert rust regexes to vim regexes reliably. For example, in Rust, we use |
I will do a few tests, but I think vim's |
This commit introduces a new custom_regex option under the fuzzy configuration.
It allows users to specify a custom regular expression to be used by both implementations.