30 lines
1007 B
Lua
30 lines
1007 B
Lua
return {
|
|
{
|
|
"windwp/nvim-autopairs",
|
|
event = "VeryLazy",
|
|
config = function(_, opts)
|
|
require("nvim-autopairs").setup(opts)
|
|
end,
|
|
},
|
|
{
|
|
"numToStr/Comment.nvim",
|
|
event = "VeryLazy",
|
|
config = function(_, opts)
|
|
require("Comment").setup(opts)
|
|
end,
|
|
},
|
|
{
|
|
"folke/todo-comments.nvim",
|
|
event = "VeryLazy",
|
|
cmd = { "TodoTelescope", "TodoLocList" },
|
|
config = true,
|
|
-- stylua: ignore
|
|
keys = {
|
|
{ "]t", function() require("todo-comments").jump_next() end, desc = "Next todo comment" },
|
|
{ "[t", function() require("todo-comments").jump_prev() end, desc = "Previous todo comment" },
|
|
{ "<leader>tt", "<cmd>TodoTelescope<cr>", desc = "List Todo in Telescope" },
|
|
{ "<leader>tl", "<cmd>TodoLocList<cr>", desc = "List Todo in LocList" },
|
|
},
|
|
}
|
|
}
|