mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
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:
parent
b796b6e5a8
commit
aec21cd7df
1 changed files with 7 additions and 2 deletions
|
|
@ -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",
|
"ggandor/leap.nvim",
|
||||||
event = "VeryLazy",
|
event = "VeryLazy",
|
||||||
dependencies = { { "ggandor/flit.nvim", opts = { labeled_modes = "nv" } } },
|
|
||||||
config = function(_, opts)
|
config = function(_, opts)
|
||||||
local leap = require("leap")
|
local leap = require("leap")
|
||||||
for k, v in pairs(opts) do
|
for k, v in pairs(opts) do
|
||||||
|
|
@ -152,6 +151,12 @@ return {
|
||||||
leap.add_default_mappings(true)
|
leap.add_default_mappings(true)
|
||||||
end,
|
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
|
-- which-key
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue