feat(nvim): re-add todo-comments.nvim

This commit is contained in:
Oliver Davies 2023-08-27 17:34:58 +01:00
parent cbf6e4a29f
commit 5f8b5cc3de

View file

@ -4,3 +4,11 @@ if not status_ok then
end end
todo_comments.setup {} todo_comments.setup {}
local nmap = require "opdavies.keymap".nmap
nmap { "[t", function() todo_comments.jump_prev() end, { desc = "Previous todo comment" }}
nmap { "]t", function() todo_comments.jump_next() end, { desc = "Next todo comment" }}
nmap { "<leader>tt", "<cmd>TodoTelescope<cr>" }
nmap { "<leader>tq", "<cmd>TodoQuickFix<cr>" }