From dee8dc318efac8883fe149503ea92924ff4a4de2 Mon Sep 17 00:00:00 2001 From: Radvil <36059968+radvil@users.noreply.github.com> Date: Mon, 3 Jul 2023 21:41:16 +0800 Subject: [PATCH] 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 --- lua/lazyvim/plugins/editor.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lua/lazyvim/plugins/editor.lua b/lua/lazyvim/plugins/editor.lua index 119bf6c1..d2d48140 100644 --- a/lua/lazyvim/plugins/editor.lua +++ b/lua/lazyvim/plugins/editor.lua @@ -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 = {}