Add lazy and plugins dir

This commit is contained in:
Rakshit Sinha 2024-11-03 20:15:03 -08:00
parent 1dacc4c2d3
commit a467ba4a69
25 changed files with 1393 additions and 0 deletions

View file

@ -0,0 +1,23 @@
-- Highlight todo, notes, etc in comments
return {
'folke/todo-comments.nvim',
event = 'VimEnter',
dependencies = { 'nvim-lua/plenary.nvim' },
opts = { signs = false },
config = function()
local todo_comments = require 'todo-comments'
-- set keymaps
local keymap = vim.keymap -- for conciseness
keymap.set('n', '[t', function()
todo_comments.jump_next()
end, { desc = 'Next todo comment' })
keymap.set('n', ']t', function()
todo_comments.jump_prev()
end, { desc = 'Previous todo comment' })
todo_comments.setup()
end,
}