From 174d5dc27138f9404174c7641033bf86b84ae2c7 Mon Sep 17 00:00:00 2001 From: Samir Benmendil Date: Wed, 26 Jun 2024 15:51:03 +0000 Subject: [PATCH] nvim: re-enable mini.indentscope --- nvim/lua/plugins/ui.lua | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/nvim/lua/plugins/ui.lua b/nvim/lua/plugins/ui.lua index 8a1e155..0cb899a 100644 --- a/nvim/lua/plugins/ui.lua +++ b/nvim/lua/plugins/ui.lua @@ -102,12 +102,16 @@ return { "indent-blankline.nvim", }, { - "mini.indentscope", - opts = { - draw = { - animation = require("mini.indentscope").gen_animation.linear({ duration = 10 }), - }, - }, + "echasnovski/mini.indentscope", + version = false, -- wait till new 0.7.0 release to put it back on semver + event = "LazyFile", + opts = function (_, opts) + return { + draw = { + animation = require("mini.indentscope").gen_animation.linear({ duration = 10 }) + } + } + end, }, { "nvimdev/dashboard-nvim", -- 2.48.1