Merge pull request #82 from santoso-wijaya/inlay-hints

Make inlay hints highlight a dimmer comment shade
This commit is contained in:
Max Del Canto 2024-06-11 02:34:29 -03:00 committed by GitHub
commit 4fb02a0676
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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 = c.base01 }) -- 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 = c.base01 }) -- 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