Skip to content

Commit

Permalink
feat: add italics to diagnostic if already set
Browse files Browse the repository at this point in the history
  • Loading branch information
rachartier committed Jul 28, 2024
1 parent 4c4137b commit ca50af9
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions lua/tiny-inline-diagnostic/highlights.lua
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,7 @@ function M.setup_highlights(blend, default_hi)
}

for name, opts in pairs(hi) do
vim.api.nvim_set_hl(0, name, {
bg = opts.bg,
fg = opts.fg,
})
vim.api.nvim_set_hl(0, name, opts)
end
end

Expand Down

0 comments on commit ca50af9

Please sign in to comment.