✨ feat(nvim): add live-grep extra
This commit is contained in:
parent
a35f8ab2ac
commit
aba18045f8
1 changed files with 13 additions and 0 deletions
|
@ -0,0 +1,13 @@
|
||||||
|
return {
|
||||||
|
"nvim-telescope/telescope-live-grep-args.nvim",
|
||||||
|
config = function()
|
||||||
|
require("lazyvim.util").on_load("telescope.nvim", function()
|
||||||
|
require("telescope").load_extension("lazy")
|
||||||
|
end)
|
||||||
|
end,
|
||||||
|
-- stylua: ignore
|
||||||
|
keys = {
|
||||||
|
{ "<leader>sg", function() require("telescope").extensions.live_grep_args.live_grep_args() end, desc = "Grep (root dir)" },
|
||||||
|
{ "<leader>/", function() require("telescope").extensions.live_grep_args.live_grep_args() end, desc = "Grep (root dir)" },
|
||||||
|
},
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue