summaryrefslogtreecommitdiff
path: root/.config/nvim/lua
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/lua')
-rw-r--r--.config/nvim/lua/plugins/todo-comments.lua16
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"