diff options
| author | Kyren223 <kyren223@proton.me> | 2025-08-02 17:05:05 +0300 |
|---|---|---|
| committer | Kyren223 <kyren223@proton.me> | 2025-08-02 17:05:05 +0300 |
| commit | de2afae2825dbfcf92a2e1b43b02d60d3932ac2a (patch) | |
| tree | 9690917634cef6ac40480d9cdc9cdd68dc90fa4d /.config/nvim/lua/plugins/todo-comments.lua | |
| parent | dc3c9ef2f687288f27697b5106829267676f03f7 (diff) | |
<leader>sn now shows only "note" types instead of everything (todo +
note)
Diffstat (limited to '.config/nvim/lua/plugins/todo-comments.lua')
| -rw-r--r-- | .config/nvim/lua/plugins/todo-comments.lua | 16 |
1 files changed, 15 insertions, 1 deletions
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" |
