mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-23 01:08:59 +02:00
feat(pick): move pickers to extras telescope & fzf-lua and include telescope by default
This commit is contained in:
parent
4b9e4edbb1
commit
b2b6ff0738
7 changed files with 309 additions and 266 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue