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

[Feature request] Adding end criterion #64

Open
ajitid opened this issue Mar 2, 2022 · 1 comment
Open

[Feature request] Adding end criterion #64

ajitid opened this issue Mar 2, 2022 · 1 comment

Comments

@ajitid
Copy link

ajitid commented Mar 2, 2022

As file name appear at the end of its path, enabling end criterion would result in accurate matches. This feature would also be helpful in the case of :Telescope tags where in the symbols are present at the end of the line.

PS: I'm aware about this package of not keeping feature parity with original FZF. If you find this too much of a work or if this feature feels out of scope for this plugin, we can close this issue.

@Conni2461
Copy link
Member

We could implement this but it needs to happen on telescope core level using :help telescope.defaults.tiebreak.

But we need to extend the sorter api for an optional start and end idx of the match. fzf-native already has these values but we currently dont really do anything with them because telescope dont has any use for them

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants