summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)