22 lines
689 B
Lua
22 lines
689 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 = "fg", -- highlight the keyword
|
|
keyword = "wide", -- highlight the whole keyword
|
|
after = "fg", -- highlight the message
|
|
},
|
|
search = {
|
|
command = "rg", -- ripgrep as the default search command
|
|
args = {
|
|
"--color=never", "--no-heading", "--with-filename", "--line-number", "--column"
|
|
},
|
|
},
|
|
}
|