Skip to content

Commit

Permalink
fix tiny-inline-diagnostic fg color (#384)
Browse files Browse the repository at this point in the history
  • Loading branch information
SheffeyG authored Jan 20, 2025
1 parent 1b822aa commit 3993c7d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lua/base46/integrations/tiny-inline-diagnostic.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,17 @@ local colors = require("base46").get_theme_tb "base_30"
local mix_col = require("base46.colors").mix

local highligths = {
TinyInlineDiagnosticVirtualTextArrow = { fg = colors.white, bg = colors.black },

TinyInlineDiagnosticVirtualTextError = { fg = colors.red, bg = mix_col(colors.red, colors.black, 75) },
TinyInlineDiagnosticVirtualTextWarn = { fg = colors.yellow, bg = mix_col(colors.yellow, colors.black, 75) },
TinyInlineDiagnosticVirtualTextInfo = { fg = colors.green, bg = mix_col(colors.green, colors.black, 75) },
TinyInlineDiagnosticVirtualTextHint = { fg = colors.purple, bg = mix_col(colors.purple, colors.black, 75) },
TinyInlineDiagnosticVirtualTextArrow = { fg = colors.white, bg = colors.black },

TinyInlineInvDiagnosticVirtualTextError = { fg = mix_col(colors.red, colors.black, 75), bg = colors.black },
TinyInlineInvDiagnosticVirtualTextWarn = { fg = mix_col(colors.yellow, colors.black, 75), bg = colors.black },
TinyInlineInvDiagnosticVirtualTextInfo = { fg = mix_col(colors.green, colors.black, 75), bg = colors.black },
TinyInlineInvDiagnosticVirtualTextHint = { fg = mix_col(colors.white, colors.black, 75), bg = colors.black },
TinyInlineInvDiagnosticVirtualTextHint = { fg = mix_col(colors.purple, colors.black, 75), bg = colors.black },
}

return highligths

0 comments on commit 3993c7d

Please sign in to comment.