From e4174d01a6616b915d571981cd98f85b77fd535d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=A3=9E?= Date: Wed, 12 Jun 2024 01:56:30 +0800 Subject: [PATCH] feat(pick): add function for searching `plugin_files` --- lua/lazyvim/util/pick.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lua/lazyvim/util/pick.lua b/lua/lazyvim/util/pick.lua index 30160215e7..a37a8adbd7 100644 --- a/lua/lazyvim/util/pick.lua +++ b/lua/lazyvim/util/pick.lua @@ -69,4 +69,8 @@ function M.config_files() return M.wrap("files", { cwd = vim.fn.stdpath("config") }) end +function M.plugin_files() + return M.wrap("files", { cwd = vim.fn.stdpath("data") .. "/lazy" }) +end + return M