summaryrefslogtreecommitdiff
path: root/dot-config
diff options
context:
space:
mode:
authorJosé Juan Loeza Sierra <jj@xz6ze.com>2025-11-08 15:34:03 -0800
committerJosé Juan Loeza Sierra <jj@xz6ze.com>2025-11-08 15:34:03 -0800
commitc000e16d7d200634da6b102abbe2a30ea55aba8f (patch)
tree9446c60719b717cb0d3e804caba57156794ad8ec /dot-config
parent668a8a6d5f38fe161d32b7ee1d04976fc0408723 (diff)
add todo comments plugin
Diffstat (limited to 'dot-config')
-rw-r--r--dot-config/nvim/nvim-pack-lock.json4
-rw-r--r--dot-config/nvim/plugin/todo.lua8
2 files changed, 12 insertions, 0 deletions
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", "<leader>ft", require("todo-comments.fzf").todo)