feat(pick): move pickers to extras telescope & fzf-lua and include telescope by default
This commit is contained in:
1 parent
4b9e4edbb1
commit
b2b6ff0738
7 files changed
+309
-266
No files matched your search
@@ -32,6 +32,7 @@ local deprecated = {
|
||||
toggle_diagnostics = { "toggle", "diagnostics" },
|
||||
toggle_number = { "toggle", "number" },
|
||||
fg = "ui",
|
||||
telescope = "pick",
|
||||
}
|
||||
|
||||
setmetatable(M, {
|
||||
@@ -78,8 +79,10 @@ end
|
||||
|
||||
---@param extra string
|
||||
function M.has_extra(extra)
|
||||
local Config = require("lazyvim.config")
|
||||
local modname = "lazyvim.plugins.extras." .. extra
|
||||
return vim.tbl_contains(require("lazy.core.config").spec.modules, modname)
|
||||
or vim.tbl_contains(Config.json.data.extras, modname)
|
||||
end
|
||||
|
||||
---@param fn fun()
|
||||
|
||||
Reference in new issue
Block a user