refactor: Adjusted the color of lspinlayhint to improve visibility on dark backgrounds.

This commit is contained in:
Max Del Canto 2024-06-11 02:32:21 -03:00 committed by GitHub
parent 8753f75642
commit 430e2dd5ad
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -10,7 +10,7 @@ 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.base01, 30) }) -- used for highlighting inlay hints
set_hl('LspInlayHint', { fg = c.base01 }) -- used for highlighting inlay hints
else
set_hl('LspInlayHint', { fg = lighten(c.base01, 30) })
end