]> git.madduck.net Git - etc/lazyvim.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

disable snacks.scroll the lazy way
authormartin f. krafft <madduck@madduck.net>
Fri, 18 Apr 2025 11:34:01 +0000 (13:34 +0200)
committermartin f. krafft <madduck@madduck.net>
Wed, 6 Aug 2025 09:57:17 +0000 (11:57 +0200)
.config/lazyvim/lazy-lock.json
.config/lazyvim/lua/plugins/disable-snacks-scroll.lua [new file with mode: 0644]
.config/lazyvim/plugin/disable_smooth_scroll.lua [deleted file]
.gitignore.d/lazyvim

index d91ef3b122f7294adfdfb50ebfde0c28202a63c9..909c44dce3be95f6a0799d2be949b7983523e998 100644 (file)
@@ -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 (file)
index 0000000..d3d96be
--- /dev/null
@@ -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 (file)
index 21a5c18..0000000
+++ /dev/null
@@ -1 +0,0 @@
-vim.g.snacks_scroll = false
index e544836bec3b6273ec5a80cd484b90b17a5fab00..65f81b2eeb448b30ad6595f5c552f2cb225b83a6 100644 (file)
 !/.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