more color goodies

This commit is contained in:
2025-10-18 12:48:26 +01:00
parent 411e02a5a9
commit 1167bad460
3 changed files with 36 additions and 8 deletions
+11
View File
@@ -20,3 +20,14 @@ vim.diagnostic.config({
source = "if_many",
},
})
-- Disable annoying signature help popup completely
vim.lsp.handlers["textDocument/signatureHelp"] = function() end
vim.api.nvim_create_autocmd("LspAttach", {
callback = function(args)
local client = vim.lsp.get_client_by_id(args.data.client_id)
if client then
client.server_capabilities.signatureHelpProvider = nil
end
end,
})
+13 -8
View File
@@ -15,14 +15,13 @@ return {
-- You can customize base colors here if needed
end,
on_highlights = function(highlights, colors)
-- Fix unused imports/readability issues
-- Common highlight groups for unused/deprecated code:
highlights.Comment = { fg = colors.comment, bg = "NONE" }
highlights["@comment"] = { fg = colors.comment, bg = "NONE" }
highlights["@comment.todo"] = { fg = colors.comment, bg = "NONE" }
highlights["@comment.note"] = { fg = colors.comment, bg = "NONE" }
highlights["@comment.warning"] = { fg = colors.comment, bg = "NONE" }
highlights["@comment.error"] = { fg = colors.comment, bg = "NONE" }
-- Make comments lighter gray
highlights.Comment = { fg = "#7d8aa0", bg = "NONE" } -- Lighter gray
highlights["@comment"] = { fg = "#7d8aa0", bg = "NONE" }
highlights["@comment.todo"] = { fg = "#7d8aa0", bg = "NONE" }
highlights["@comment.note"] = { fg = "#7d8aa0", bg = "NONE" }
highlights["@comment.warning"] = { fg = "#7d8aa0", bg = "NONE" }
highlights["@comment.error"] = { fg = "#7d8aa0", bg = "NONE" }
-- Completely disable unused/deprecated highlighting to preserve normal syntax
highlights.DiagnosticUnnecessary = {}
@@ -30,6 +29,12 @@ return {
highlights["@lsp.type.comment"] = {}
highlights.Deprecated = {}
highlights["@deprecated"] = {}
-- Make inlay hints very light gray
highlights.LspInlayHint = { fg = "#565f89", bg = "NONE" }
highlights["@lsp.inlayHint"] = { fg = "#565f89", bg = "NONE" }
highlights.InlayHint = { fg = "#565f89", bg = "NONE" }
highlights["@inlayHint"] = { fg = "#565f89", bg = "NONE" }
end,
},
},
+12
View File
@@ -0,0 +1,12 @@
return {
-- Configure LSP
{
"neovim/nvim-lspconfig",
opts = {
inlay_hints = {
enabled = true,
exclude = { "vue" },
},
},
},
}