From de2afae2825dbfcf92a2e1b43b02d60d3932ac2a Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Sat, 2 Aug 2025 17:05:05 +0300 Subject: sn now shows only "note" types instead of everything (todo + note) --- .config/nvim/lua/plugins/todo-comments.lua | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to '.config/nvim/lua') diff --git a/.config/nvim/lua/plugins/todo-comments.lua b/.config/nvim/lua/plugins/todo-comments.lua index 25a6330..b5e80df 100644 --- a/.config/nvim/lua/plugins/todo-comments.lua +++ b/.config/nvim/lua/plugins/todo-comments.lua @@ -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" -- cgit v1.3.1