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

Long matched results can cause the matched portion to not be visible #317

Closed
YellowKirby opened this issue Feb 10, 2020 · 1 comment · Fixed by #330
Closed

Long matched results can cause the matched portion to not be visible #317

YellowKirby opened this issue Feb 10, 2020 · 1 comment · Fixed by #330
Milestone

Comments

@YellowKirby
Copy link

Is your feature request related to a problem? Please describe.

When matching entries that are really long, it is possible for the matched/highlighted portion to exist outside of the visible window. e.g., when using :Clap files to search by filename in a project that has a deeply-nested folder structure:

image

This can make it difficult to understand which entry is actually being selected.

Describe the solution you'd like

It would be nice if vim-clap could truncate or justify the entry so that the highlighted portion is visible within the window:

image

Thank you! vim-clap has been really nice to use :)

@liuchengxu
Copy link
Owner

Try #330, but you have to build the Rust binary manually via :call clap#installer#build_all() until the new release.

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

Successfully merging a pull request may close this issue.

2 participants