todo-comments with snack broke for some reason, idk when, I guess I can

no longer use it then, welp
This commit is contained in:
2026-06-22 01:35:58 +03:00
parent 0243af5d1f
commit 416dce6b9e
2 changed files with 122 additions and 39 deletions

View File

@@ -3,45 +3,45 @@ return {
dependencies = { 'nvim-lua/plenary.nvim' },
event = 'VeryLazy',
keys = {
{
'<leader>st',
function()
Snacks.picker.todo_comments({
layout = 'telescope',
follow = true,
hidden = true,
keywords = { 'TODO', 'WIP', 'FIX', 'FIXME', 'OPTIMIZE', 'SECURE' },
})
end,
desc = '[S]earch [T]odos',
},
{
'<leader>sn',
function()
Snacks.picker.todo_comments({
layout = 'telescope',
follow = true,
hidden = true,
keywords = {
'NOTE',
'INFO',
'DOCS',
'TEST',
'WARN',
'WARNING',
'SECURITY',
'HACK',
'IMPORTANT',
'PERF',
'STUDY',
'UNSAFE',
'SAFETY',
'ERROR',
},
})
end,
desc = '[S]earch [N]otes',
},
-- {
-- '<leader>st',
-- function()
-- Snacks.picker.todo_comments({
-- layout = 'telescope',
-- follow = true,
-- hidden = true,
-- keywords = { 'TODO', 'WIP', 'FIX', 'FIXME', 'OPTIMIZE', 'SECURE' },
-- })
-- end,
-- desc = '[S]earch [T]odos',
-- },
-- {
-- '<leader>sn',
-- function()
-- Snacks.picker.todo_comments({
-- layout = 'telescope',
-- follow = true,
-- hidden = true,
-- keywords = {
-- 'NOTE',
-- 'INFO',
-- 'DOCS',
-- 'TEST',
-- 'WARN',
-- 'WARNING',
-- 'SECURITY',
-- 'HACK',
-- 'IMPORTANT',
-- 'PERF',
-- 'STUDY',
-- 'UNSAFE',
-- 'SAFETY',
-- 'ERROR',
-- },
-- })
-- end,
-- desc = '[S]earch [N]otes',
-- },
},
opts = {
signs = false,