Compare commits

...

7 Commits

3 changed files with 17 additions and 15 deletions

View File

@@ -62,12 +62,12 @@ return function(theme, palette)
DiffText = theme.diff.bg.text, DiffText = theme.diff.bg.text,
DiffAdded = { link = "DiffAdd" }, DiffAdded = { link = "DiffAdd" },
DiffRemoved = { link = "DiffDelete" }, DiffRemoved = { link = "DiffDelete" },
DiffChanged = { link = "DiffText" }, -- TODO Switch to DiffChange? DiffChanged = { link = "DiffChange" },
DiffOldFile = theme.diff.normal.del, DiffOldFile = theme.diff.normal.del,
DiffNewFile = theme.diff.normal.add, DiffNewFile = theme.diff.normal.add,
DiffFile = theme.error, -- TODO What's this? DiffFile = { fg = palette.purple, italic = true },
DiffLine = theme.error, -- TODO What's this? DiffLine = { fg = palette.blue },
DiffIndexLine = theme.error, DiffIndexLine = { fg = palette.yellow, italic = true },
-- Cmd -- Cmd

View File

@@ -20,7 +20,7 @@ return function(theme, palette)
Keyword = { fg = palette.red, bg = palette.none }, Keyword = { fg = palette.red, bg = palette.none },
Label = { link = "Keyword" }, Label = { link = "Keyword" },
Macro = { fg = palette.orange, bg = palette.none }, Macro = { fg = palette.orange, bg = palette.none },
Number = { fg = palette.yellow, bg = palette.none }, Number = { fg = palette.purple, bg = palette.none },
Operator = { fg = palette.orange, bg = palette.none }, Operator = { fg = palette.orange, bg = palette.none },
PreCondit = { link = "PreProc" }, PreCondit = { link = "PreProc" },
PreProc = { fg = palette.bg_gradiant[4], bg = palette.none }, PreProc = { fg = palette.bg_gradiant[4], bg = palette.none },
@@ -42,16 +42,16 @@ return function(theme, palette)
DiagnosticHint = theme.msg.hint, DiagnosticHint = theme.msg.hint,
DiagnosticInfo = theme.msg.info, DiagnosticInfo = theme.msg.info,
DiagnosticWarn = theme.msg.warning, DiagnosticWarn = theme.msg.warning,
DiagnosticUnderlineError = { sp = palette.red, undercurl = true }, DiagnosticUnderlineError = { sp = palette.red, bg = palette.colored_backgrounds.red },
DiagnosticUnderlineHint = { sp = palette.aqua, undercurl = true }, DiagnosticUnderlineHint = { sp = palette.aqua, bg = palette.colored_backgrounds.aqua },
DiagnosticUnderlineInfo = { sp = palette.blue, undercurl = true }, DiagnosticUnderlineInfo = { sp = palette.blue, bg = palette.colored_backgrounds.blue },
DiagnosticUnderlineWarn = { sp = palette.yellow, undercurl = true }, DiagnosticUnderlineWarn = { sp = palette.yellow, bg = palette.colored_backgrounds.yellow },
LspInlayHint = theme.conceal, LspInlayHint = theme.conceal,
LspCodeLens = { link = "LspInlayHint" }, LspCodeLens = { link = "LspInlayHint" },
LspCodeLensSeparator = { link = "LspCodeLens" }, LspCodeLensSeparator = { link = "LspCodeLens" },
LspReferenceRead = theme.active, LspReferenceRead = { fg = palette.none, bg = palette.colored_backgrounds.aqua },
LspReferenceWrite = { fg = palette.none, bg = palette.harder_bg }, LspReferenceWrite = { fg = palette.none, bg = palette.colored_backgrounds.orange },
LspReferenceText = theme.active, LspReferenceText = { fg = palette.none, bg = palette.bg_gradiant[1] },
["@annotation"] = { fg = palette.yellow }, ["@annotation"] = { fg = palette.yellow },
["@attribute"] = { fg = palette.yellow }, ["@attribute"] = { fg = palette.yellow },
@@ -150,5 +150,7 @@ return function(theme, palette)
["@lsp.typemod.selfKeyword"] = theme.highlight_bold, ["@lsp.typemod.selfKeyword"] = theme.highlight_bold,
["@lsp.typemod.string.attribute"] = { link = "String" }, -- Hmmmm ["@lsp.typemod.string.attribute"] = { link = "String" }, -- Hmmmm
["@lsp.typemod.variable.readonly"] = { link = "Constant" }, ["@lsp.typemod.variable.readonly"] = { link = "Constant" },
["@lsp.typemod.const.constant"] = { link = "Constant" },
["@lsp.typemod.constParameter.constant"] = { link = "Constant" },
} }
end end

View File

@@ -1,7 +1,7 @@
return function() return function()
return { return {
IlluminatedWordText = { link = "LspeferenceText" }, IlluminatedWordText = { link = "LspReferenceText" },
IlluminatedWordRead = { link = "LspeferenceRead" }, IlluminatedWordRead = { link = "LspReferenceRead" },
IlluminatedWordWrite = { link = "LspeferenceWrite" }, IlluminatedWordWrite = { link = "LspReferenceWrite" },
} }
end end