<leader>sn now shows only "note" types instead of everything (todo +

note)
This commit is contained in:
2025-08-02 17:05:05 +03:00
parent dc3c9ef2f6
commit de2afae282

View File

@@ -39,6 +39,20 @@ return {
layout = 'telescope',
follow = true,
hidden = true,
keywords = {
'NOTE',
'INFO',
'DOCS',
'TEST',
'WARN',
'WARNING',
'SECURITY',
'HACK',
'PERF',
'UNSAFE',
'SAFETY',
'ERROR',
},
})
end,
desc = '[S]earch [N]otes',
@@ -49,7 +63,7 @@ return {
keywords = {
-- These are "todos"
TODO = { icon = '', color = 'todo', alt = { 'WIP' } },
FIX = { icon = '', color = 'error', alt = { 'FIXME', 'BUG' } },
FIX = { icon = '', color = 'error', alt = { 'FIXME', 'BUG', 'ERROR' } },
OPTMZE = { icon = '', color = 'perf', alt = { 'OPTIMIZE' } },
SECURE = { icon = '󰣮 ', color = 'warning' },
-- These are "notes"