]> git.rmz.io Git - dotfiles.git/commitdiff
nvim/ui: set animation fuction for indentscope
authorSamir Benmendil <me@rmz.io>
Wed, 12 Apr 2023 14:53:46 +0000 (15:53 +0100)
committerSamir Benmendil <me@rmz.io>
Tue, 31 Oct 2023 23:08:51 +0000 (23:08 +0000)
It's not very different from the default, maybe a little faster. But
provides a reminder for configuration points later in time.

nvim/lua/plugins/ui.lua

index 61fad3b7d4d23acf3f06b2875159bdd7f9ff6be6..dccc956c39979e9921f7893d55c10befaa0ab623 100644 (file)
@@ -58,6 +58,11 @@ return {
   },
   {
     "mini.indentscope",
+    opts = {
+      draw = {
+        animation = require("mini.indentscope").gen_animation.linear({ duration = 10 }),
+      },
+    },
   },
   {
     "alpha-nvim",