chore: better dependency declaration for leap/flit

As flit depends on leap and leap should be a component
on its own, declarations are decoupled with a more apt
flit -> leap dependency declaration
This commit is contained in:
ditsuke 2023-02-10 15:57:31 +05:30
parent b796b6e5a8
commit aec21cd7df
No known key found for this signature in database
GPG key ID: 71B6C31C8A5A9D21

View file

@ -139,11 +139,10 @@ return {
},
},
-- easily jump to any location and enhanced f/t motions for Leap
-- enhanced 2-char search motions
{
"ggandor/leap.nvim",
event = "VeryLazy",
dependencies = { { "ggandor/flit.nvim", opts = { labeled_modes = "nv" } } },
config = function(_, opts)
local leap = require("leap")
for k, v in pairs(opts) do
@ -152,6 +151,12 @@ return {
leap.add_default_mappings(true)
end,
},
-- easily jump to any location and enhanced f/t motions for Leap
{
"ggandor/flit.nvim",
dependencies = { { "ggandor/leap.nvim" } },
opts = { labeled_modes = "nv" },
},
-- which-key
{