nvim: mini.pick ripgrep->rg tool name
This commit is contained in:
parent
dfa99a5d4c
commit
71660705f0
1 changed files with 1 additions and 4 deletions
|
@ -69,7 +69,7 @@ MiniPick.registry.files_root = function(local_opts)
|
|||
local root_dir = vim.fs.dirname(vim.fs.find(root_patterns, { upward = true })[1])
|
||||
local_opts.cwd = root_dir
|
||||
local_opts.tool = "rg"
|
||||
return MiniPick.builtin.files(local_opts, { source = { cwd = root_dir, tool = "ripgrep" } })
|
||||
return MiniPick.builtin.files(local_opts, { source = { cwd = root_dir, tool = "rg" } })
|
||||
end
|
||||
MiniPick.registry.grep_live_root = function(local_opts)
|
||||
local root_patterns = { ".jj", ".git" }
|
||||
|
@ -130,9 +130,6 @@ require("mini.pick").registry.buffers = function(local_opts, opts)
|
|||
return require("mini.pick").start(opts)
|
||||
end
|
||||
|
||||
|
||||
|
||||
|
||||
local miniclue = require('mini.clue')
|
||||
miniclue.setup({ -- cute prompts about bindings
|
||||
triggers = {
|
||||
|
|
Loading…
Reference in a new issue