no gray for unused imports / vars

This commit is contained in:
2025-10-18 12:13:03 +01:00
parent 871771340e
commit 411e02a5a9
2 changed files with 55 additions and 0 deletions
+19
View File
@@ -1,3 +1,22 @@
-- Options are automatically loaded before lazy.nvim startup
-- Default options that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/options.lua
-- Add any additional options here
-- Make unused code more readable
vim.diagnostic.config({
signs = {
text = {
[vim.diagnostic.severity.WARN] = "",
[vim.diagnostic.severity.INFO] = "",
[vim.diagnostic.severity.HINT] = "",
},
},
underline = {
severity = { min = vim.diagnostic.severity.ERROR },
},
virtual_text = {
prefix = "",
spacing = 4,
source = "if_many",
},
})