From c000e16d7d200634da6b102abbe2a30ea55aba8f Mon Sep 17 00:00:00 2001 From: José Juan Loeza Sierra Date: Sat, 8 Nov 2025 15:34:03 -0800 Subject: add todo comments plugin --- dot-config/nvim/nvim-pack-lock.json | 4 ++++ dot-config/nvim/plugin/todo.lua | 8 ++++++++ 2 files changed, 12 insertions(+) create mode 100644 dot-config/nvim/plugin/todo.lua (limited to 'dot-config/nvim') diff --git a/dot-config/nvim/nvim-pack-lock.json b/dot-config/nvim/nvim-pack-lock.json index 593f3d8..e1d11f5 100644 --- a/dot-config/nvim/nvim-pack-lock.json +++ b/dot-config/nvim/nvim-pack-lock.json @@ -56,6 +56,10 @@ "rev": "ec07018", "src": "https://github.com/sainnhe/sonokai" }, + "todo-comments.nvim": { + "rev": "411503d", + "src": "https://github.com/folke/todo-comments.nvim" + }, "yazi.nvim": { "rev": "667028e", "src": "https://github.com/mikavilpas/yazi.nvim" diff --git a/dot-config/nvim/plugin/todo.lua b/dot-config/nvim/plugin/todo.lua new file mode 100644 index 0000000..2d9e0dd --- /dev/null +++ b/dot-config/nvim/plugin/todo.lua @@ -0,0 +1,8 @@ +vim.pack.add({ + "https://github.com/folke/todo-comments.nvim", + "https://github.com/nvim-lua/plenary.nvim", -- dependency +}) + +require("todo-comments").setup() + +vim.keymap.set("n", "ft", require("todo-comments.fzf").todo) -- cgit v1.3