Skip to content

Commit

Permalink
Merge pull request #82 from santoso-wijaya/inlay-hints
Browse files Browse the repository at this point in the history
Make inlay hints highlight a dimmer comment shade
  • Loading branch information
maxmx03 committed Jun 11, 2024
2 parents b3a9765 + 991444f commit 4fb02a0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lua/solarized/themes/default/lsp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions lua/solarized/themes/neo/lsp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4fb02a0

Please sign in to comment.