From 65f8d967dffceb66ec84525565c5751aada32ea4 Mon Sep 17 00:00:00 2001 From: Daniel McKnight Date: Thu, 4 Sep 2025 18:10:03 -0700 Subject: [PATCH] Add todo-comments plugin with shortcuts for finding TODO comments --- .config/nvim/lua/plugins/syntax_highlighting.lua | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.config/nvim/lua/plugins/syntax_highlighting.lua b/.config/nvim/lua/plugins/syntax_highlighting.lua index f16b556..12df498 100644 --- a/.config/nvim/lua/plugins/syntax_highlighting.lua +++ b/.config/nvim/lua/plugins/syntax_highlighting.lua @@ -12,7 +12,7 @@ return { "query", "markdown", "markdown_inline", - "bash", + "bash", "json", "jsonc", "python", @@ -53,4 +53,11 @@ return { }) end, }, + { + "folke/todo-comments.nvim", + dependencies = { "nvim-lua/plenary.nvim" }, + opts = {}, + }, + vim.keymap.set("n", "ct", ":TodoQuickFix", { desc = "Show TODO" }), + vim.keymap.set("n", "fc", ":TodoTelescope", { desc = "Show TODO" }), }