Files
dotfiles/common/.config/nvim/lua/plugins/todo-comments.lua
Pratik Tripathy 14bca30695 NVIM with Lazy.vim Package Manager
- Added the basic setting for functional LSP.
- Split configurations into multiple files suitable for Lazy usage.
2023-12-24 23:39:58 +05:30

21 lines
593 B
Lua

return {
"folke/todo-comments.nvim",
dependencies = { "nvim-lua/plenary.nvim" },
config = function()
vim.keymap.set("n", "]t", function()
require("todo-comments").jump_next(
{ keywords = { "ERROR", "WARNING", "TODO" }}
)
end,
{ desc = "Next todo comment"}
)
vim.keymap.set("n", "[t", function()
require("todo-comments").jump_prev(
{ keywords = { "ERROR", "WARNING", "TODO" }}
)
end,
{ desc = "Previous todo comment"}
)
end
}