summaryrefslogtreecommitdiff
path: root/dot-config/nvim
diff options
context:
space:
mode:
authorJosé Juan Loeza Sierra <jj@jlsd9.com>2025-11-08 15:34:03 -0800
committerJosé Juan Loeza Sierra <jj@jlsd9.com>2025-11-08 15:34:03 -0800
commit3367f5bfd9f6748e1c2155b5dff52950b3d16a07 (patch)
tree9446c60719b717cb0d3e804caba57156794ad8ec /dot-config/nvim
parentf57c11af42ae22f131b8d4f96279e66d11353c18 (diff)
add todo comments plugin
Diffstat (limited to 'dot-config/nvim')
-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)