mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
review changed
This commit is contained in:
parent
e19aa4ba70
commit
70efad4973
1 changed files with 5 additions and 2 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue