From dc604b052691525f1df20cacaa48801b5b9db8a7 Mon Sep 17 00:00:00 2001 From: Radvil Date: Mon, 3 Jul 2023 13:59:42 +0800 Subject: [PATCH] fix leap nvim required by flit 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" --- 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 = {}