mirror of
https://github.com/pratiktri/dotfiles.git
synced 2026-02-04 08:41:43 +05:30
- Added the basic setting for functional LSP. - Split configurations into multiple files suitable for Lazy usage.
21 lines
593 B
Lua
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
|
|
}
|