Modified Neovim Config

This commit is contained in:
Thomas Naderer
2024-12-22 15:33:11 +01:00
parent a396ab2abc
commit 7d89f6fbbc
5 changed files with 153 additions and 73 deletions

View File

@@ -0,0 +1,21 @@
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"
},
},
}