This commit is contained in:
Volodymyr Patuta 2026-04-15 14:49:25 +02:00
parent 3814d4f9df
commit c16f88acd1
2 changed files with 7 additions and 2 deletions

View File

@ -1,5 +1,6 @@
local Highlight = require("gruber-darker.highlight")
local vim_hl = require("gruber-darker.highlights.vim").highlights
local c = require("gruber-darker.palette")
local gruber_hl = require("gruber-darker.highlights.colorscheme").highlights
---@type HighlightsProvider
@ -36,8 +37,10 @@ M.highlights.diagnostic_unnecessary = Highlight.new("DiagnosticUnnecessary", { l
M.highlights.saga_normal = Highlight.new("SagaNormal", { link = vim_hl.normal_float })
M.highlights.saga_border = Highlight.new("SagaBorder", { link = vim_hl.float_border })
-- M.highlights.inlay_hint = Highlight.new("LspInlayHint", { bold = true })
---Used for highlighting "text" references
-- M.highlights.lsp_reference_text = Highlight.new("LspReferenceText", {})
M.highlights.lsp_reference_text = Highlight.new("LspReferenceText", { fg = c.none, bg = c["bg+2"] })
---Used for highlighting "read" references
-- M.highlights.lsp_reference_read = Highlight.new("LspReferenceRead", {})
---Used for highlighting "write" references

View File

@ -52,6 +52,8 @@ M.highlights.diff_added = Highlight.new("diffAdded", { link = M.highlights.diff_
M.highlights.diff_removed = Highlight.new("diffRemoved", { link = M.highlights.diff_delete })
M.highlights.diff_line = Highlight.new("diffLine", { link = M.highlights.diff_change })
M.highlights.inlay_hing = Highlight.new("LspInlayHint", { fg = c["bg+4"], bg = c.none, bold = true })
---Filler lines (~) after the end of the buffer. By, this is highlighted like |hl-NonText|.
M.highlights.end_of_buffer = Highlight.new("EndOfBuffer", { fg = c["bg+4"], bg = c.none })
---Cursor in a focused terminal
@ -101,7 +103,7 @@ M.highlights.float_border = Highlight.new("FloatBorder", { fg = c["bg+4"], bg =
-- Popup
---Popup menu: normal item.
M.highlights.popup_menu = Highlight.new("Pmenu", { fg = c.fg, bg = c["bg+1"] })
M.highlights.popup_menu = Highlight.new("Pmenu", { fg = c.fg, bg = c.none })
---Popup menu: selected item.
M.highlights.popup_menu_sel = Highlight.new("PmenuSel", { fg = c.fg, bg = c["bg+2"] })
---Popup menu: scrollbar.