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
|
Hint: Make sure that color is currently set to `never` because we do
|
||||||
not yet interpret color codes
|
not yet interpret color codes
|
||||||
Hint 2: Make sure that these options are in your changes arguments:
|
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.
|
because we need them so the ripgrep output is in the correct format.
|
||||||
|
|
||||||
Default: {
|
Default: {
|
||||||
"rg",
|
"rg",
|
||||||
"--color=never",
|
"--vimgrep",
|
||||||
"--no-heading",
|
|
||||||
"--with-filename",
|
|
||||||
"--line-number",
|
|
||||||
"--column",
|
|
||||||
"--smart-case"
|
"--smart-case"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -626,23 +626,20 @@ append(
|
|||||||
|
|
||||||
append(
|
append(
|
||||||
"vimgrep_arguments",
|
"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`
|
Defines the command that will be used for `live_grep` and `grep_string`
|
||||||
pickers.
|
pickers.
|
||||||
Hint: Make sure that color is currently set to `never` because we do
|
Hint: Make sure that color is currently set to `never` because we do
|
||||||
not yet interpret color codes
|
not yet interpret color codes
|
||||||
Hint 2: Make sure that these options are in your changes arguments:
|
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.
|
because we need them so the ripgrep output is in the correct format.
|
||||||
|
|
||||||
Default: {
|
Default: {
|
||||||
"rg",
|
"rg",
|
||||||
"--color=never",
|
"--vimgrep",
|
||||||
"--no-heading",
|
|
||||||
"--with-filename",
|
|
||||||
"--line-number",
|
|
||||||
"--column",
|
|
||||||
"--smart-case"
|
"--smart-case"
|
||||||
}]]
|
}]]
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user