Skip to content

Commit

Permalink
feat(lsp): fix #21 Add highlight support for LSP's native inlay hints
Browse files Browse the repository at this point in the history
  • Loading branch information
oxfist committed Nov 8, 2023
1 parent 32766d5 commit 152b4da
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lua/night-owl/palette.lua
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ local colors = {
gray2 = "#d2dee7",
gray3 = "#36414A",
gray4 = "#d6deeb80",
gray5 = "#969696",
light_blue = "#78ccf0",
blue = "#82aaff",
blue2 = "#0b253a",
Expand All @@ -49,6 +50,7 @@ local colors = {
blue10 = "#697098",
blue11 = "#8eace3",
blue12 = "#b2ccd6",
blue13 = "#072232",
green = "#c5e478",
light_cyan = "#caece6",
cyan = "#6ae9f0",
Expand Down
1 change: 1 addition & 0 deletions lua/night-owl/theme.lua
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ theme.set_highlights = function()
-- LSP
hl(0, "DiagnosticError", { link = 'Error' })
hl(0, "LspInfoBorder", { fg = c.ui_border, bg = 'NONE' })
hl(0, "LspInlayHint", { fg = c.gray5, bg = c.blue13 })

-- SemanticTokens
hl(0, "@lsp.type.parameter", { fg = c.parameter, bg = 'NONE' })
Expand Down

0 comments on commit 152b4da

Please sign in to comment.