From 71660705f0ce156dc3ce216d29572e54ae9f07a8 Mon Sep 17 00:00:00 2001 From: Daniel Lundin Date: Wed, 27 Nov 2024 14:04:13 +0100 Subject: [PATCH] nvim: mini.pick ripgrep->rg tool name --- home/common/nvim/mini.lua | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/home/common/nvim/mini.lua b/home/common/nvim/mini.lua index 2c71357..f1de03f 100644 --- a/home/common/nvim/mini.lua +++ b/home/common/nvim/mini.lua @@ -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 = {