feat(snacks.picker): added keymaps for snacks picker with todo comments

This commit is contained in:
Folke Lemaitre 2025-01-14 16:20:11 +01:00
parent 0cd9a4864d
commit cd1d1e3528
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040

View file

@ -115,4 +115,13 @@ return {
})
end,
},
{
"folke/todo-comments.nvim",
optional = true,
-- stylua: ignore
keys = {
{ "<leader>st", function() Snacks.picker.todo_comments() end, desc = "Todo" },
{ "<leader>sT", function () Snacks.picker.todo_comments({ keywords = { "TODO", "FIX", "FIXME" } }) end, desc = "Todo/Fix/Fixme" },
},
},
}