nvim: reformat
This commit is contained in:
parent
461f3a9a46
commit
714cbcb8a9
1 changed files with 50 additions and 49 deletions
|
@ -71,6 +71,7 @@ MiniPick.registry.files_root = function(local_opts)
|
|||
local_opts.tool = "rg"
|
||||
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" }
|
||||
local root_dir = vim.fs.dirname(vim.fs.find(root_patterns, { upward = true })[1])
|
||||
|
@ -128,7 +129,7 @@ require("mini.pick").registry.buffers = function(local_opts, opts)
|
|||
})
|
||||
end
|
||||
return require("mini.pick").start(opts)
|
||||
end
|
||||
end
|
||||
|
||||
local miniclue = require('mini.clue')
|
||||
miniclue.setup({ -- cute prompts about bindings
|
||||
|
|
Loading…
Reference in a new issue