17 lines
462 B
Lua
17 lines
462 B
Lua
local utils = require("utils")
|
|
return {
|
|
"folke/todo-comments.nvim",
|
|
event = { "BufReadPre", "BufNewFile" },
|
|
dependencies = { "nvim-lua/plenary.nvim" },
|
|
config = function()
|
|
utils.nmapkey("]t", function()
|
|
require("todo-comments").jump_next()
|
|
end, "Next todo comment (todo-comments)")
|
|
utils.nmapkey("[t", function()
|
|
require("todo-comments").jump_previous()
|
|
end, "Previous todo comment (todo-comments)")
|
|
|
|
require("todo-comments").setup()
|
|
end,
|
|
}
|