aboutsummaryrefslogtreecommitdiffstats
path: root/lua/plugins/todo-comments.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/plugins/todo-comments.lua')
-rw-r--r--lua/plugins/todo-comments.lua23
1 files changed, 23 insertions, 0 deletions
diff --git a/lua/plugins/todo-comments.lua b/lua/plugins/todo-comments.lua
new file mode 100644
index 0000000..566b45b
--- /dev/null
+++ b/lua/plugins/todo-comments.lua
@@ -0,0 +1,23 @@
+return {
+ "folke/todo-comments.nvim",
+ dependencies = {
+ "nvim-lua/plenary.nvim",
+ },
+ config = true,
+ lazy = false,
+ cmds = {"TodoTrouble", "TodoTelescope", "TodoQuickFix"},
+ keys = {
+ {
+ "]t",
+ function()
+ require("todo-comments").jump_next()
+ end
+ },
+ {
+ "[t",
+ function()
+ require("todo-comments").jump_prev()
+ end
+ }
+ },
+}