Skip to content

Custom grep provider #1640

Answered by ibhagwan
artemave asked this question in Q&A
Dec 25, 2024 · 2 comments · 8 replies
Discussion options

You must be logged in to vote

Alright solved it, command wasn't POSIX compliant, add a ; before the 2nd curly brace:

:lua require("fzf-lua").grep({raw_cmd=[[{ git diff main... & git diff; } | diff2vimgrep | sort -u]],debug=true})

Replies: 2 comments 8 replies

Comment options

You must be logged in to vote
2 replies
@artemave
Comment options

@ibhagwan
Comment options

Comment options

You must be logged in to vote
6 replies
@ibhagwan
Comment options

@ibhagwan
Comment options

@ibhagwan
Comment options

@ibhagwan
Comment options

Answer selected by ibhagwan
@artemave
Comment options

@artemave
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants