From c16f88acd13991e74c30c60f19b97ad589179841 Mon Sep 17 00:00:00 2001 From: Volodymyr Patuta Date: Wed, 15 Apr 2026 14:49:25 +0200 Subject: [PATCH] update --- lua/gruber-darker/highlights/lsp.lua | 5 ++++- lua/gruber-darker/highlights/vim.lua | 4 +++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/lua/gruber-darker/highlights/lsp.lua b/lua/gruber-darker/highlights/lsp.lua index 89e4e0d..08f07f3 100644 --- a/lua/gruber-darker/highlights/lsp.lua +++ b/lua/gruber-darker/highlights/lsp.lua @@ -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 diff --git a/lua/gruber-darker/highlights/vim.lua b/lua/gruber-darker/highlights/vim.lua index f2ff60e..59ca7f9 100644 --- a/lua/gruber-darker/highlights/vim.lua +++ b/lua/gruber-darker/highlights/vim.lua @@ -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.