aboutsummaryrefslogtreecommitdiffstats
path: root/lua/plugins/todo-comments.lua
blob: 3c4c2327a1413fa861d11b250f99c5e5720e5af1 (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", "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",
    },
  },
}