summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/nvim/lua/plugins/todo-comments.lua8
1 files changed, 7 insertions, 1 deletions
diff --git a/.config/nvim/lua/plugins/todo-comments.lua b/.config/nvim/lua/plugins/todo-comments.lua
index 6470469..cf8b58c 100644
--- a/.config/nvim/lua/plugins/todo-comments.lua
+++ b/.config/nvim/lua/plugins/todo-comments.lua
@@ -23,6 +23,8 @@ return {
function()
Snacks.picker.todo_comments({
layout = 'telescope',
+ follow = true,
+ hidden = true,
keywords = { 'TODO', 'FIX', 'FIXME', 'BUG', 'ISSUE', 'OPTIMIZE' },
})
end,
@@ -31,7 +33,11 @@ return {
{
'<leader>sn',
function()
- Snacks.picker.todo_comments({ layout = 'telescope' })
+ Snacks.picker.todo_comments({
+ layout = 'telescope',
+ follow = true,
+ hidden = true,
+ })
end,
desc = '[S]earch [N]otes',
},