aboutsummaryrefslogtreecommitdiffstats
path: root/lua/plugins/todo-comments.lua
blob: fef635e24ec8cbbb9758462e65e9a9674b7d3c51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
return {
  "folke/todo-comments.nvim",
  dependencies = {
    "nvim-lua/plenary.nvim",
  },
  config = true,
  lazy = false,
  cmd = { "TodoTrouble", "TodoTelescope", "TodoQuickFix" },
  keys = {
    {
      "]t",
      function()
        require("todo-comments").jump_next()
      end,
      desc = "Jump to next TODO",
    },
    {
      "[t",
      function()
        require("todo-comments").jump_prev()
      end,
      desc = "Jump to prev TODO",
    },
  },
}