summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/plugins/todo-comments.lua
diff options
context:
space:
mode:
authorKyren223 <Kyren223@proton.me>2025-05-01 12:33:16 +0300
committerKyren223 <Kyren223@proton.me>2025-05-01 12:33:16 +0300
commitcbc300023cdb009ddf72b8dd0ecd4d720bca1352 (patch)
tree4452e26e2616a09762b74c85d6960a10ac36bda0 /.config/nvim/lua/plugins/todo-comments.lua
parentc9977ec0de67f64f668f37b62090f2fc720ba8f8 (diff)
TODOs now show even if inside hidden/symlinked files
Diffstat (limited to '.config/nvim/lua/plugins/todo-comments.lua')
-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',
},