diff --git a/stow/common/dot-config/nvim/lazy-lock.json b/stow/common/dot-config/nvim/lazy-lock.json index d530a0a..4f01b8b 100644 --- a/stow/common/dot-config/nvim/lazy-lock.json +++ b/stow/common/dot-config/nvim/lazy-lock.json @@ -70,7 +70,7 @@ "promise-async": { "branch": "main", "commit": "119e8961014c9bfaf1487bf3c2a393d254f337e2" }, "quicker.nvim": { "branch": "master", "commit": "049d66534d3de5920663ee1b8dd0096d70f55a67" }, "render-markdown.nvim": { "branch": "main", "commit": "1b5d11734122d9451d2e5e2e567fd61a62822293" }, - "snacks.nvim": { "branch": "main", "commit": "3b75f0f529f82af1f4fd80a60ed7a9aa55d39772" }, + "snacks.nvim": { "branch": "main", "commit": "67894ee778d567c8fb6f3e1e1774d1606d19ed27" }, "spaceless.nvim": { "branch": "main", "commit": "8d46bc098dba18d4e19bce89bf19aab5007ef767" }, "stickybuf.nvim": { "branch": "master", "commit": "183b9569bef78f44b17c078214f7d731f19cbefe" }, "substitute.nvim": { "branch": "main", "commit": "17ffaeb5a1dc2dbef39cf0865d8a4b6000836714" }, diff --git a/stow/common/dot-config/nvim/lua/plugins.lua b/stow/common/dot-config/nvim/lua/plugins.lua index 0a3bcb2..0b3f749 100644 --- a/stow/common/dot-config/nvim/lua/plugins.lua +++ b/stow/common/dot-config/nvim/lua/plugins.lua @@ -1681,8 +1681,8 @@ local plugins = { words = { enabled = false }, }, keys = { - { ".", function() require("snacks").scratch() end, desc = "Toggle Scratch Buffer" }, - { "S", function() require("snacks").scratch.select() end, desc = "Select Scratch Buffer" }, + { ".", function() require("snacks").scratch({ ft = vim.bo.filetype }) end, desc = "Toggle Scratch Buffer" }, + { "S", function() require("snacks").scratch.select() end, desc = "Select Scratch Buffer" }, -- this doesn't seem to work, that's coupled with commented line above -- { "]]", function() require("snacks").words.jump(vim.v.count1) end, desc = "Next Reference", mode = { "n", "t" } }, -- { "[[", function() require("snacks").words.jump(-vim.v.count1) end, desc = "Prev Reference", mode = { "n", "t" } },