From 283badaa983234c90e857c12c1f1c18e1544360a Mon Sep 17 00:00:00 2001 From: truelossless Date: Sat, 28 Dec 2024 19:54:00 +0100 Subject: [PATCH] Add inlay hints --- lua/ayu/colors.lua | 3 +++ lua/ayu/init.lua | 3 +++ 2 files changed, 6 insertions(+) diff --git a/lua/ayu/colors.lua b/lua/ayu/colors.lua index 9f330b2..a152737 100644 --- a/lua/ayu/colors.lua +++ b/lua/ayu/colors.lua @@ -1,6 +1,9 @@ local colors = { white = '#FFFFFF', black = '#000000', + + -- This color is not part of `ayu` but matches the default style applied in VSCode. + lsp_inlay_hint = '#969696', } --- Generate colors based `vim.o.background` and a variant. diff --git a/lua/ayu/init.lua b/lua/ayu/init.lua index 3572fa8..b440b98 100644 --- a/lua/ayu/init.lua +++ b/lua/ayu/init.lua @@ -239,6 +239,9 @@ local function set_groups() LeapLabelSecondary = { fg = colors.bg, bg = colors.entity }, LeapLabelSelected = { fg = colors.bg, bg = colors.tag }, + -- LSP Inlay Hints. + LspInlayHint = { fg = colors.lsp_inlay_hint }, + -- LSP Signature. LspSignatureActiveParameter = { italic = true },