]> git.rmz.io Git - dotfiles.git/commitdiff
nvim: re-enable mini.indentscope
authorSamir Benmendil <me@rmz.io>
Wed, 26 Jun 2024 15:51:03 +0000 (15:51 +0000)
committerSamir Benmendil <me@rmz.io>
Wed, 26 Jun 2024 15:51:03 +0000 (15:51 +0000)
nvim/lua/plugins/ui.lua

index 8a1e155ef1884e7265afb4d92daccbb09eb56239..0cb899a94543e3e288d1efb5425b0b785603c121 100644 (file)
@@ -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",