From 0554b55153eaea443402e282e0064eeb7a0f75a7 Mon Sep 17 00:00:00 2001 From: Michael Chris Lopez Date: Mon, 20 May 2024 10:26:28 +0200 Subject: [PATCH] fix: lsp inlay hint (#180) --- lua/zenbones/specs/dark.lua | 1 + lua/zenbones/specs/light.lua | 1 + 2 files changed, 2 insertions(+) diff --git a/lua/zenbones/specs/dark.lua b/lua/zenbones/specs/dark.lua index c604b8e..3e083ac 100644 --- a/lua/zenbones/specs/dark.lua +++ b/lua/zenbones/specs/dark.lua @@ -172,6 +172,7 @@ local function generate(p, opt) LspReferenceRead { ColorColumn }, -- used for highlighting "read" references LspReferenceWrite { ColorColumn }, -- used for highlighting "write" references LspCodeLens { LineNr }, + LspInlayHint { fg = p1.bg.sa(10).li(40), bg = p1.bg.li(4) }, DiagnosticError { Error }, DiagnosticWarn { WarningMsg }, diff --git a/lua/zenbones/specs/light.lua b/lua/zenbones/specs/light.lua index 85e9183..a854603 100644 --- a/lua/zenbones/specs/light.lua +++ b/lua/zenbones/specs/light.lua @@ -172,6 +172,7 @@ local function generate(p, opt) LspReferenceRead { ColorColumn }, -- used for highlighting "read" references LspReferenceWrite { ColorColumn }, -- used for highlighting "write" references LspCodeLens { LineNr }, + LspInlayHint { fg = p1.bg.sa(10).da(36), bg = p1.bg.da(2) }, DiagnosticError { Error }, DiagnosticWarn { WarningMsg },