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,
|
end,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
cond = function(plugin)
|
cond = function()
|
||||||
if not LazyVim.has("telescope.nvim") then
|
if not LazyVim.has("telescope.nvim") then
|
||||||
return false
|
return false
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if not vim.tbl_contains(LazyVim.config.json.data.extras, "lazyvim.plugins.extras.editor.medias") then
|
||||||
|
return false
|
||||||
|
end
|
||||||
|
|
||||||
local function disableWithWarnMessage(msg)
|
local function disableWithWarnMessage(msg)
|
||||||
LazyVim.warn(
|
LazyVim.warn(
|
||||||
"You have enabled extras.editor.medias, see (:`LazyExtras`). \n\n"
|
"You have enabled extras.editor.medias, see (:`LazyExtras`). \n\n"
|
||||||
|
|
@ -94,7 +98,6 @@ return {
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
plugin.ft = supportedFiletypeSet:toList()
|
|
||||||
return true
|
return true
|
||||||
end,
|
end,
|
||||||
keys = {
|
keys = {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue