review changed

This commit is contained in:
arthur 2024-06-11 13:50:43 +08:00
parent e19aa4ba70
commit 70efad4973

View file

@ -31,11 +31,15 @@ return {
end,
},
},
cond = function(plugin)
cond = function()
if not LazyVim.has("telescope.nvim") then
return false
end
if not vim.tbl_contains(LazyVim.config.json.data.extras, "lazyvim.plugins.extras.editor.medias") then
return false
end
local function disableWithWarnMessage(msg)
LazyVim.warn(
"You have enabled extras.editor.medias, see (:`LazyExtras`). \n\n"
@ -94,7 +98,6 @@ return {
end
end
plugin.ft = supportedFiletypeSet:toList()
return true
end,
keys = {