Files
dotfiles/nvim/lua/plugins/todo-comments.lua
2024-12-22 15:33:11 +01:00

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"
},
},
}