22 lines
659 B
Lua
22 lines
659 B
Lua
require("todo-comments").setup {
|
|
signs = true, -- Show icons in the signs column
|
|
keywords = {
|
|
TODO = { icon = "", color = "info" },
|
|
FIXME = { icon = "", color = "error" },
|
|
HACK = { icon = "", color = "warning" },
|
|
WARN = { icon = "", color = "warning" },
|
|
NOTE = { icon = "", color = "hint" },
|
|
},
|
|
highlight = {
|
|
before = "", -- Don't highlight before the keyword
|
|
keyword = "wide", -- Highlight the keyword itself
|
|
after = "fg", -- Highlight after the keyword
|
|
},
|
|
search = {
|
|
command = "rg", -- Use ripgrep for searching
|
|
args = {
|
|
"--color=never", "--no-heading", "--with-filename", "--line-number", "--column",
|
|
},
|
|
},
|
|
}
|