Turn off animated scrolling from the snacks plugin

This commit is contained in:
David Heinemeier Hansson
2025-03-05 17:46:02 +01:00
parent 12adfed660
commit 216848ea6c
2 changed files with 11 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
return {
"folke/snacks.nvim",
opts = {
scroll = {
enabled = false, -- Disable scrolling animations
},
},
}

View File

@@ -23,6 +23,9 @@ if [ ! -d "$HOME/.config/nvim" ]; then
# Default to Tokyo Night theme # Default to Tokyo Night theme
cp ~/.local/share/omakub/themes/tokyo-night/neovim.lua ~/.config/nvim/lua/plugins/theme.lua cp ~/.local/share/omakub/themes/tokyo-night/neovim.lua ~/.config/nvim/lua/plugins/theme.lua
# Turn off animationd scrolling
cp ~/.local/share/omakub/configs/neovim/snacks-animated-scrolling-off.lua ~/.config/nvim/lua/plugins/
fi fi
# Replace desktop launcher with one running inside Alacritty # Replace desktop launcher with one running inside Alacritty