Skip to content

Commit

Permalink
fix: remove deprecated leap/flit code checks
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Sep 29, 2023
1 parent a7f68e5 commit 6b05ed7
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions lua/lazyvim/plugins/editor.lua
Original file line number Diff line number Diff line change
Expand Up @@ -212,30 +212,6 @@ return {
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
-- at the end of each match, letting you quickly jump to a specific
-- location.
Expand Down

0 comments on commit 6b05ed7

Please sign in to comment.