2023-11-17 11:24:21 +00:00
|
|
|
return {
|
|
|
|
{
|
|
|
|
"folke/todo-comments.nvim",
|
2023-12-08 10:42:09 +00:00
|
|
|
dependencies = { "nvim-lua/plenary.nvim" },
|
2023-11-17 11:24:21 +00:00
|
|
|
cmd = { "TodoTrouble", "TodoTelescope" },
|
|
|
|
config = true,
|
|
|
|
keys = {
|
2023-12-08 10:42:09 +00:00
|
|
|
{ "]t", function() require("todo-comments").jump_next() end, desc = "Next todo comment" },
|
|
|
|
{ "[t", function() require("todo-comments").jump_prev() end, desc = "Previous todo comment" },
|
|
|
|
{ "<leader>xt", "<cmd>TodoTrouble<cr>", desc = "Todo (Trouble)" },
|
|
|
|
{ "<leader>xT", "<cmd>TodoTrouble keywords=TODO,FIX,FIXME<cr>", desc = "Todo/Fix/Fixme (Trouble)" },
|
|
|
|
{ "<leader>st", "<cmd>TodoTelescope<cr>", desc = "Todo" },
|
|
|
|
{ "<leader>sT", "<cmd>TodoTelescope keywords=TODO,FIX,FIXME<cr>", desc = "Todo/Fix/Fixme" },
|
2023-11-17 11:24:21 +00:00
|
|
|
},
|
2023-12-08 10:42:09 +00:00
|
|
|
ops = {
|
|
|
|
signs = true,
|
|
|
|
sign_priority = 8, -- sign priority
|
|
|
|
}
|
2023-11-17 11:24:21 +00:00
|
|
|
}
|
|
|
|
}
|