36 lines
1.2 KiB
Lua
36 lines
1.2 KiB
Lua
return {
|
|
-- Set your colorscheme
|
|
{
|
|
"LazyVim/LazyVim",
|
|
opts = {
|
|
colorscheme = "tokyonight",
|
|
},
|
|
},
|
|
|
|
-- Customize tokyonight colors
|
|
{
|
|
"folke/tokyonight.nvim",
|
|
opts = {
|
|
on_colors = function(colors)
|
|
-- 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" }
|
|
|
|
-- Completely disable unused/deprecated highlighting to preserve normal syntax
|
|
highlights.DiagnosticUnnecessary = {}
|
|
highlights.LspDiagnosticsUnnecessary = {}
|
|
highlights["@lsp.type.comment"] = {}
|
|
highlights.Deprecated = {}
|
|
highlights["@deprecated"] = {}
|
|
end,
|
|
},
|
|
},
|
|
} |