mirror of
https://github.com/rose-pine/neovim.git
synced 2025-10-15 12:38:53 +02:00
feat: add highlight groups to defaults
This commit is contained in:
parent
8bcdbc3b2d
commit
0353988382
2 changed files with 9 additions and 1 deletions
|
|
@ -155,26 +155,32 @@ local function set_highlights()
|
|||
DiagnosticError = { fg = groups.error },
|
||||
DiagnosticHint = { fg = groups.hint },
|
||||
DiagnosticInfo = { fg = groups.info },
|
||||
DiagnosticOk = { fg = groups.ok },
|
||||
DiagnosticWarn = { fg = groups.warn },
|
||||
DiagnosticDefaultError = { link = "DiagnosticError" },
|
||||
DiagnosticDefaultHint = { link = "DiagnosticHint" },
|
||||
DiagnosticDefaultInfo = { link = "DiagnosticInfo" },
|
||||
DiagnosticDefaultOk = { link = "DiagnosticOk" },
|
||||
DiagnosticDefaultWarn = { link = "DiagnosticWarn" },
|
||||
DiagnosticFloatingError = { link = "DiagnosticError" },
|
||||
DiagnosticFloatingHint = { link = "DiagnosticHint" },
|
||||
DiagnosticFloatingInfo = { link = "DiagnosticInfo" },
|
||||
DiagnosticFloatingOk = { link = "DiagnosticOk" },
|
||||
DiagnosticFloatingWarn = { link = "DiagnosticWarn" },
|
||||
DiagnosticSignError = { link = "DiagnosticError" },
|
||||
DiagnosticSignHint = { link = "DiagnosticHint" },
|
||||
DiagnosticSignInfo = { link = "DiagnosticInfo" },
|
||||
DiagnosticSignOk = { link = "DiagnosticOk" },
|
||||
DiagnosticSignWarn = { link = "DiagnosticWarn" },
|
||||
DiagnosticUnderlineError = { sp = groups.error, undercurl = true },
|
||||
DiagnosticUnderlineHint = { sp = groups.hint, undercurl = true },
|
||||
DiagnosticUnderlineInfo = { sp = groups.info, undercurl = true },
|
||||
DiagnosticUnderlineOk = { sp = groups.ok, undercurl = true },
|
||||
DiagnosticUnderlineWarn = { sp = groups.warn, undercurl = true },
|
||||
DiagnosticVirtualTextError = { fg = groups.error, bg = groups.error, blend = 10 },
|
||||
DiagnosticVirtualTextHint = { fg = groups.hint, bg = groups.hint, blend = 10 },
|
||||
DiagnosticVirtualTextInfo = { fg = groups.info, bg = groups.info, blend = 10 },
|
||||
DiagnosticVirtualTextOk = { fg = groups.ok, bg = groups.ok, blend = 10 },
|
||||
DiagnosticVirtualTextWarn = { fg = groups.warn, bg = groups.warn, blend = 10 },
|
||||
|
||||
Boolean = { fg = palette.rose },
|
||||
|
|
@ -897,6 +903,7 @@ local function set_highlights()
|
|||
DiagnosticVirtualTextError = { fg = groups.error },
|
||||
DiagnosticVirtualTextHint = { fg = groups.hint },
|
||||
DiagnosticVirtualTextInfo = { fg = groups.info },
|
||||
DiagnosticVirtualTextOk = { fg = groups.ok },
|
||||
DiagnosticVirtualTextWarn = { fg = groups.warn },
|
||||
|
||||
FloatBorder = { fg = palette.muted, bg = "NONE" },
|
||||
|
|
|
|||
|
|
@ -44,9 +44,10 @@ config.options = {
|
|||
error = "love",
|
||||
hint = "iris",
|
||||
info = "foam",
|
||||
ok = "leaf",
|
||||
warn = "gold",
|
||||
note = "pine",
|
||||
todo = "rose",
|
||||
warn = "gold",
|
||||
|
||||
git_add = "foam",
|
||||
git_change = "rose",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue