mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-07-03 22:14:39 +02:00
fix: remove deprecated leap/flit code checks
This commit is contained in:
parent
a7f68e5e37
commit
6b05ed7dcd
1 changed files with 0 additions and 24 deletions
|
@ -212,30 +212,6 @@ return {
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
|
||||||
-- disable old installations of leap and flit. Optional so it doesn't appear under disabled plugins
|
|
||||||
{
|
|
||||||
"ggandor/leap.nvim",
|
|
||||||
enabled = function()
|
|
||||||
vim.schedule(function()
|
|
||||||
local Config = require("lazy.core.config")
|
|
||||||
if Config.spec.disabled["leap.nvim"] or Config.spec.disabled["flit.nvim"] then
|
|
||||||
require("lazy.core.util").warn(
|
|
||||||
[[`flash.nvim` is now the default **LazyVim** jump plugin.
|
|
||||||
**leap.nvim** and **flit.nvim** have been disabled.
|
|
||||||
Please remove the plugins from your config.
|
|
||||||
If you rather use leap/flit instead, you can add the leap extra:
|
|
||||||
`lazyvim.plugins.extras.editor.leap`
|
|
||||||
]],
|
|
||||||
{ title = "LazyVim" }
|
|
||||||
)
|
|
||||||
end
|
|
||||||
end)
|
|
||||||
return false
|
|
||||||
end,
|
|
||||||
optional = true,
|
|
||||||
},
|
|
||||||
{ "ggandor/flit.nvim", enabled = false, optional = true },
|
|
||||||
|
|
||||||
-- Flash enhances the built-in search functionality by showing labels
|
-- Flash enhances the built-in search functionality by showing labels
|
||||||
-- at the end of each match, letting you quickly jump to a specific
|
-- at the end of each match, letting you quickly jump to a specific
|
||||||
-- location.
|
-- location.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue