mirror of
https://github.com/maxmx03/solarized.nvim.git
synced 2026-09-10 07:26:26 -04:00
Merge pull request #82 from santoso-wijaya/inlay-hints
Make inlay hints highlight a dimmer comment shade
This commit is contained in:
commit
4fb02a0676
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue