Skip to content

Commit

Permalink
fix(snacks): init function (#427)
Browse files Browse the repository at this point in the history
  • Loading branch information
n3wborn authored Jan 2, 2025
1 parent 8d46508 commit 7aa0286
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lua/plugins/snacks.lua
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ return {
{ "<c-_>", function() Snacks.terminal() end, desc = "which_key_ignore" },
{ "*", function() Snacks.words.jump(vim.v.count1) end, desc = "Next Reference", mode = { "n", "t" } },
{ "#", function() Snacks.words.jump(-vim.v.count1) end, desc = "Prev Reference", mode = { "n", "t" } },
init = function()
},
init = function()
vim.api.nvim_create_autocmd("User", {
pattern = "VeryLazy",
callback = function()
Expand All @@ -71,6 +72,5 @@ return {
Snacks.toggle.dim():map("<leader>uD")
end,
})
end,
}
end
}

0 comments on commit 7aa0286

Please sign in to comment.