chore: simplify vimgrep_arguments args (#2440)
This commit is contained in:
@@ -532,16 +532,13 @@ telescope.setup({opts}) *telescope.setup()*
|
||||
Hint: Make sure that color is currently set to `never` because we do
|
||||
not yet interpret color codes
|
||||
Hint 2: Make sure that these options are in your changes arguments:
|
||||
"--no-heading", "--with-filename", "--line-number", "--column"
|
||||
("--no-heading", "--with-filename", "--line-number", "--column") or
|
||||
"--vimgrep"
|
||||
because we need them so the ripgrep output is in the correct format.
|
||||
|
||||
Default: {
|
||||
"rg",
|
||||
"--color=never",
|
||||
"--no-heading",
|
||||
"--with-filename",
|
||||
"--line-number",
|
||||
"--column",
|
||||
"--vimgrep",
|
||||
"--smart-case"
|
||||
}
|
||||
|
||||
|
||||
@@ -626,23 +626,20 @@ append(
|
||||
|
||||
append(
|
||||
"vimgrep_arguments",
|
||||
{ "rg", "--color=never", "--no-heading", "--with-filename", "--line-number", "--column", "--smart-case" },
|
||||
{ "rg", "--vimgrep", "--smart-case" },
|
||||
[[
|
||||
Defines the command that will be used for `live_grep` and `grep_string`
|
||||
pickers.
|
||||
Hint: Make sure that color is currently set to `never` because we do
|
||||
not yet interpret color codes
|
||||
Hint 2: Make sure that these options are in your changes arguments:
|
||||
"--no-heading", "--with-filename", "--line-number", "--column"
|
||||
("--no-heading", "--with-filename", "--line-number", "--column") or
|
||||
"--vimgrep"
|
||||
because we need them so the ripgrep output is in the correct format.
|
||||
|
||||
Default: {
|
||||
"rg",
|
||||
"--color=never",
|
||||
"--no-heading",
|
||||
"--with-filename",
|
||||
"--line-number",
|
||||
"--column",
|
||||
"--vimgrep",
|
||||
"--smart-case"
|
||||
}]]
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user