aboutsummaryrefslogtreecommitdiffstats
path: root/lua/plugins/todo-comments.lua
diff options
context:
space:
mode:
authorAriel D'Alessandro <dalessandro.ariel@gmail.com>2023-01-30 09:01:20 +0100
committerAriel D'Alessandro <dalessandro.ariel@gmail.com>2023-01-30 09:01:20 +0100
commit75c20b732ab7a154841871c75f7fb54f016d82dc (patch)
treed7f83e4a614b9f18ae87cfb64aacac0d0180dd07 /lua/plugins/todo-comments.lua
parent0f1176e2e4d780aa3ed4e8e4e424ffd7a3e168f6 (diff)
downloadnvim-conf-75c20b732ab7a154841871c75f7fb54f016d82dc.tar.gz
nvim-conf-75c20b732ab7a154841871c75f7fb54f016d82dc.zip
feat: update cargo lsp, add todo, update laravel config
Diffstat (limited to 'lua/plugins/todo-comments.lua')
-rw-r--r--lua/plugins/todo-comments.lua23
1 files changed, 23 insertions, 0 deletions
diff --git a/lua/plugins/todo-comments.lua b/lua/plugins/todo-comments.lua
new file mode 100644
index 0000000..566b45b
--- /dev/null
+++ b/lua/plugins/todo-comments.lua
@@ -0,0 +1,23 @@
+return {
+ "folke/todo-comments.nvim",
+ dependencies = {
+ "nvim-lua/plenary.nvim",
+ },
+ config = true,
+ lazy = false,
+ cmds = {"TodoTrouble", "TodoTelescope", "TodoQuickFix"},
+ keys = {
+ {
+ "]t",
+ function()
+ require("todo-comments").jump_next()
+ end
+ },
+ {
+ "[t",
+ function()
+ require("todo-comments").jump_prev()
+ end
+ }
+ },
+}