feat(plugins): cleaner todo highlights

This commit is contained in:
Matt Leong 2021-11-01 14:19:44 -07:00
parent 54bcdf47fb
commit 065ebfa890

View file

@ -232,11 +232,11 @@ return packer.startup(function()
alt = { 'FIXME', 'BUG', 'FIXIT', 'ISSUE', 'fix', 'fixme', 'bug' }, -- a set of other keywords that all map to this FIX keywords alt = { 'FIXME', 'BUG', 'FIXIT', 'ISSUE', 'fix', 'fixme', 'bug' }, -- a set of other keywords that all map to this FIX keywords
-- signs = false, -- configure signs for some keywords individually -- signs = false, -- configure signs for some keywords individually
}, },
TODO = { icon = icons.check, color = 'info', alt = { 'todo' } }, TODO = { icon = icons.check, color = 'info' },
HACK = { icon = icons.flame, color = 'warning', alt = { 'hack' } }, HACK = { icon = icons.flame, color = 'warning' },
WARN = { icon = icons.warn, color = 'warning', alt = { 'WARNING', 'XXX', 'warn', 'warning' } }, WARN = { icon = icons.warn, color = 'warning', alt = { 'WARNING', 'XXX' } },
PERF = { icon = icons.perf, alt = { 'OPTIM', 'PERFORMANCE', 'OPTIMIZE', 'perf', 'performance' } }, PERF = { icon = icons.perf, alt = { 'OPTIM', 'PERFORMANCE', 'OPTIMIZE' } },
NOTE = { icon = icons.note, color = 'hint', alt = { 'INFO', 'note' } }, NOTE = { icon = icons.note, color = 'hint', alt = { 'INFO' } },
}, },
colors = { colors = {
error = { 'DiagnosticError', 'ErrorMsg', '#DC2626' }, error = { 'DiagnosticError', 'ErrorMsg', '#DC2626' },