Skip to content

Commit

Permalink
Merge pull request #47 from TeamTamoad/fix-highlight-light
Browse files Browse the repository at this point in the history
fix: fix LSP highlight for light theme
  • Loading branch information
Mofiqul authored Mar 26, 2022
2 parents add5229 + d59a00b commit 4f66652
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions lua/vscode/colors.lua
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ local generate = function()
-- Other ui specific colors
colors.vscUiBlue = '#084671'
colors.vscUiOrange = '#f28b25'
colors.vscPopupHighlightLightBlue = '#d7eafe'

return colors
end
Expand Down
6 changes: 3 additions & 3 deletions lua/vscode/theme.lua
Original file line number Diff line number Diff line change
Expand Up @@ -481,9 +481,9 @@ theme.load_syntax = function()
DiagnosticUnderlineWarn = { nil, nil, 'undercurl', c.vscYellow },
DiagnosticUnderlineInfo = { nil, nil, 'undercurl', c.vscBlue },
DiagnosticUnderlineHint = { nil, nil, 'undercurl', c.vscBlue },
LspReferenceText = { nil, c.vscPopupHighlightGray, 'none', nil },
LspReferenceRead = { nil, c.vscPopupHighlightGray, 'none', nil },
LspReferenceWrite = { nil, c.vscPopupHighlightGray, 'none', nil },
LspReferenceText = { nil, isDark and c.vscPopupHighlightGray or c.vscPopupHighlightLightBlue, 'none', nil },
LspReferenceRead = { nil, isDark and c.vscPopupHighlightGray or c.vscPopupHighlightLightBlue, 'none', nil },
LspReferenceWrite = { nil, isDark and c.vscPopupHighlightGray or c.vscPopupHighlightLightBlue, 'none', nil },

-- Nvim compe
CmpItemKindVariable = { c.vscLightBlue, nil, 'none', nil },
Expand Down

0 comments on commit 4f66652

Please sign in to comment.