From f56d4d82831ebf0d0b75a38c16aa8b2339d2797d Mon Sep 17 00:00:00 2001 From: Warwick Date: Thu, 20 Jun 2024 11:24:26 +0100 Subject: [PATCH] Added mini animations --- lua/core/plugins.lua | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/lua/core/plugins.lua b/lua/core/plugins.lua index 153e23a..d6f3d4a 100644 --- a/lua/core/plugins.lua +++ b/lua/core/plugins.lua @@ -89,7 +89,20 @@ local plugins = { }, }, -- Lightmode switcher - 'eliseshaffer/darklight.nvim' + 'eliseshaffer/darklight.nvim', + -- Mini tools + { + 'echasnovski/mini.animate', + version = false, + config = function() + local animate = require('mini.animate') + animate.setup({ + scroll = { timing = animate.gen_timing.linear({ duration = 50, unit = 'total' }) }, + cursor = { enable = false } + }) + end + + } } local opts = {}