Skip to content

Commit

Permalink
Add inlay hints
Browse files Browse the repository at this point in the history
  • Loading branch information
truelossless committed Dec 29, 2024
1 parent 3716069 commit 347df53
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lua/ayu/colors.lua
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
3 changes: 3 additions & 0 deletions lua/ayu/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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 },

Expand Down

0 comments on commit 347df53

Please sign in to comment.