From d462e698fd632a66c40a147aff2ba9dba9a1815d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20La=C3=ADn?= Date: Fri, 13 Dec 2024 23:43:12 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20ux(nvim):=20add=20scroll=20anima?= =?UTF-8?q?tions=20to=20snacks.nvim=20and=20set=20which-key=20preset=20to?= =?UTF-8?q?=20classic?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .config/nvim/lua/plugins/extras/ui/which-key-extended.lua | 1 + .config/nvim/lua/plugins/extras/util/snacks-extended.lua | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/.config/nvim/lua/plugins/extras/ui/which-key-extended.lua b/.config/nvim/lua/plugins/extras/ui/which-key-extended.lua index 6c3f68e3..43564bf6 100644 --- a/.config/nvim/lua/plugins/extras/ui/which-key-extended.lua +++ b/.config/nvim/lua/plugins/extras/ui/which-key-extended.lua @@ -1,6 +1,7 @@ return { "folke/which-key.nvim", opts = { + preset = "classic", icons = { group = "", }, diff --git a/.config/nvim/lua/plugins/extras/util/snacks-extended.lua b/.config/nvim/lua/plugins/extras/util/snacks-extended.lua index e8bd4fd1..79af5115 100644 --- a/.config/nvim/lua/plugins/extras/util/snacks-extended.lua +++ b/.config/nvim/lua/plugins/extras/util/snacks-extended.lua @@ -26,5 +26,10 @@ return { position = "float", }, }, + scroll = { + animate = { + duration = { step = 10, total = 150 }, + }, + }, }, }