Make inlay hints highlight a dimmer comment shade

The light yellow it was previously set to was not distinguishable
enough from surrounding real code.
This commit is contained in:
Santoso Wijaya 2024-06-10 19:16:54 -07:00
parent b3a9765855
commit 8753f75642
No known key found for this signature in database
GPG key ID: 65F5EFA09B018916
2 changed files with 4 additions and 4 deletions

View file

@ -10,9 +10,9 @@ return function(c)
set_hl('LspReferenceWrite', { link = 'Visual' }) -- used for highlighting "write" references
if vim.o.background == 'dark' then
set_hl('LspInlayHint', { fg = darken(c.yellow, 20) }) -- used for highlighting inlay hints
set_hl('LspInlayHint', { fg = darken(c.base01, 30) }) -- used for highlighting inlay hints
else
set_hl('LspInlayHint', { fg = lighten(c.yellow, 20) })
set_hl('LspInlayHint', { fg = lighten(c.base01, 30) })
end
-- if you want to me to enable the highlight groups bellow, please send a screenshot for me to see how

View file

@ -10,9 +10,9 @@ return function(c)
set_hl('LspReferenceWrite', { link = 'Visual' }) -- used for highlighting "write" references
if vim.o.background == 'dark' then
set_hl('LspInlayHint', { fg = darken(c.yellow, 20) }) -- used for highlighting inlay hints
set_hl('LspInlayHint', { fg = darken(c.base01, 30) }) -- used for highlighting inlay hints
else
set_hl('LspInlayHint', { fg = lighten(c.yellow, 20) })
set_hl('LspInlayHint', { fg = lighten(c.base01, 30) })
end
-- if you want to me to enable the highlight groups bellow, please send a screenshot for me to see how