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

grep_visual_selection not working when selecting line with white space prefix #55

Open
weeman1337 opened this issue Apr 6, 2023 · 3 comments

Comments

@weeman1337
Copy link
Collaborator

Steps to reproduce the issue:

  • Create this line test
  • Select the line with Shift+v
  • Call grep_visual_selection

Expected:

Live grep with test

What happens instead:

Live grep with empty string

@gstokkink
Copy link

gstokkink commented Apr 6, 2023

Maybe trimming should also not be the default for visual selection? Not sure. If you visually select <space>foo for instance, do you want to grep for <space>foo or foo? Doesn't really matter I guess, seeing as we have the option to turn it off.

@weeman1337
Copy link
Collaborator Author

weeman1337 commented May 25, 2023

Once it is available this plugin should use neovim/neovim#21115

neovim/neovim#27578

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