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.kak: make it possible to search for patterns starting with '-' #5254

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

occivink
Copy link
Contributor

Previously if you were to call grep while just selecting something like -f, it would interpret this as a flag and fail.

@losnappas
Copy link

Won't this make it impossible to pass flags to the grep program? I like to use e.g. rg -u often.

@occivink
Copy link
Contributor Author

It shouldn't, the only affected case is when you do :grep with no arguments

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

Successfully merging this pull request may close these issues.

2 participants