How to Pass --no-column
and --no-line-number
in rg_opts
?
#1776
Unanswered
nitaicharan
asked this question in
Q&A
Replies: 2 comments 1 reply
-
The error message is pretty self explanatory, add If you wanna hide these use |
Beta Was this translation helpful? Give feedback.
0 replies
-
This was quick. Thank you for the fast reply! I didn’t realize that these options were necessary for For future reference, here’s how I configured it to achieve the desired behavior: require("fzf-lua").live_grep({
rg_opts = "--column --line-number --no-heading --color=always --smart-case --max-columns=4096 -e",
fzf_opts = {
["--delimiter"] = "[\\):]",
['--with-nth'] = '1,4',
},
}) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I’d like to include the
--no-column
and--no-line-number
options inrg_opts
. Here's how the configuration looks in thefzf_lua.live_grep
function:However, when I do this, the following messages appear:
Is there any way to pass those options?
Beta Was this translation helpful? Give feedback.
All reactions