feat(telescope): browse plugin files
This commit is contained in:
parent
224bdb2f1e
commit
61daff58c0
21
lua/plugins/telescope.lua
Normal file
21
lua/plugins/telescope.lua
Normal file
@ -0,0 +1,21 @@
|
||||
return {
|
||||
{
|
||||
"nvim-telescope/telescope.nvim",
|
||||
|
||||
keys = {
|
||||
-- add a keymap to browse plugin files
|
||||
-- stylua: ignore
|
||||
{
|
||||
"<leader>fp",
|
||||
function() require("telescope.builtin").find_files({ cwd = require("lazy.core.config").options.root }) end,
|
||||
desc = "Find Plugin File",
|
||||
},
|
||||
},
|
||||
|
||||
opts = {
|
||||
defaults = {
|
||||
results_title = "Telescope",
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
Loading…
Reference in New Issue
Block a user