fix: leap nvim required by flit (#1046)

step to reproduce
- disable leap.nvim
- add custom config for flash (not using one from the extras)
- open file type "f", error shown "module leap is missing"

Co-authored-by: Radvil <radvil@@access-mobile.com>
This commit is contained in:
Radvil
2023-07-03 21:41:16 +08:00
committed by GitHub
parent 6d58f1dacf
commit dee8dc318e

View File

@ -216,6 +216,9 @@ return {
-- easily jump to any location and enhanced f/t motions for Leap
{
"ggandor/flit.nvim",
enabled = function()
return require("lazyvim.util").has("leap")
end,
keys = function()
---@type LazyKeys[]
local ret = {}