From: martin f. krafft Date: Fri, 18 Apr 2025 11:34:01 +0000 (+0200) Subject: disable snacks.scroll the lazy way X-Git-Url: https://git.madduck.net/etc/lazyvim.git/commitdiff_plain/15b0c8a63ef9ee466db6d08283364cd67060d181?ds=inline disable snacks.scroll the lazy way --- diff --git a/.config/lazyvim/lazy-lock.json b/.config/lazyvim/lazy-lock.json index d91ef3b..909c44d 100644 --- a/.config/lazyvim/lazy-lock.json +++ b/.config/lazyvim/lazy-lock.json @@ -22,7 +22,7 @@ "noice.nvim": { "branch": "main", "commit": "0427460c2d7f673ad60eb02b35f5e9926cf67c59" }, "nui.nvim": { "branch": "main", "commit": "8d3bce9764e627b62b07424e0df77f680d47ffdb" }, "nvim-lint": { "branch": "master", "commit": "3615c26c4922ae5f7366f0c1943a0e7cece04325" }, - "nvim-lspconfig": { "branch": "master", "commit": "8c26b04f04779f5af423e07cb611b098628c33e0" }, + "nvim-lspconfig": { "branch": "master", "commit": "1a3a429efec62af632dfd8fa9b52fa226f655ec2" }, "nvim-treesitter": { "branch": "master", "commit": "684eeac91ed8e297685a97ef70031d19ac1de25a" }, "nvim-treesitter-textobjects": { "branch": "master", "commit": "205e3369bc83d8cb83f7409c36120e24611f8c5c" }, "nvim-ts-autotag": { "branch": "main", "commit": "a1d526af391f6aebb25a8795cbc05351ed3620b5" }, diff --git a/.config/lazyvim/lua/plugins/disable-snacks-scroll.lua b/.config/lazyvim/lua/plugins/disable-snacks-scroll.lua new file mode 100644 index 0000000..d3d96be --- /dev/null +++ b/.config/lazyvim/lua/plugins/disable-snacks-scroll.lua @@ -0,0 +1,8 @@ +return { + { + "snacks.nvim", + opts = { + scroll = { enabled = false }, + }, + }, +} diff --git a/.config/lazyvim/plugin/disable_smooth_scroll.lua b/.config/lazyvim/plugin/disable_smooth_scroll.lua deleted file mode 100644 index 21a5c18..0000000 --- a/.config/lazyvim/plugin/disable_smooth_scroll.lua +++ /dev/null @@ -1 +0,0 @@ -vim.g.snacks_scroll = false diff --git a/.gitignore.d/lazyvim b/.gitignore.d/lazyvim index e544836..65f81b2 100644 --- a/.gitignore.d/lazyvim +++ b/.gitignore.d/lazyvim @@ -18,11 +18,11 @@ !/.config/lazyvim/lua/config/options.lua !/.config/lazyvim/lua/plugins/catppuccin.lua !/.config/lazyvim/lua/plugins/disable-flash.lua +!/.config/lazyvim/lua/plugins/disable-snacks-scroll.lua !/.config/lazyvim/lua/plugins/example.lua !/.config/lazyvim/lua/plugins/mini-align.lua !/.config/lazyvim/lua/plugins/vim-table-mode.lua !/.config/lazyvim/options.lua -!/.config/lazyvim/plugin/disable_smooth_scroll.lua !/.config/lazyvim/stylua.toml !/.gitignore.d/lazyvim !/.zsh/zshenv/parts.d/50-lazyvim