return { { "nvim-telescope/telescope.nvim", keys = { -- add a keymap to browse plugin files -- stylua: ignore { "fp", function() require("telescope.builtin").find_files({ cwd = require("lazy.core.config").options.root }) end, desc = "Find Plugin File", }, { "/", "lua require('telescope').extensions.live_grep_args.live_grep_args()", desc = "Grep (root dir)", }, }, dependencies = { { "nvim-telescope/telescope-live-grep-args.nvim", }, }, opts = { defaults = { layout_strategy = "horizontal", layout_config = { prompt_position = "top" }, sorting_strategy = "ascending", winblend = 0, file_ignore_patterns = { "/vendor/", "vendor/", "^vendor/" }, }, }, config = function() local tele = require("telescope") tele.setup(opts) tele.load_extension("live_grep_args") end, }, }