Change style of tiny inline diagnostics and make them play nicely with

lightbulbs from LSP
This commit is contained in:
Martin Larsson 2025-12-23 10:40:50 +01:00
parent cb283448f3
commit cd295ecfda
2 changed files with 6 additions and 5 deletions

View file

@ -3,10 +3,10 @@ return {
opts = { opts = {
hide_in_unfocused_buffer = true, hide_in_unfocused_buffer = true,
code_lenses = true, code_lenses = true,
sign = { enabled = false, }, sign = { enabled = true, },
virtual_text = { enabled = true, }, virtual_text = { enabled = false, },
float = { enabled = false, }, float = { enabled = false, },
status_text = { enabled = false, }, status_text = { enabled = false, },
autocmd = { enabled = true, }, autocmd = { enabled = true, updatetime = 25, },
}, },
} }

View file

@ -4,8 +4,9 @@ return {
priority = 1000, priority = 1000,
config = function() config = function()
require("tiny-inline-diagnostic").setup({ require("tiny-inline-diagnostic").setup({
preset = "classic", preset = "modern",
transparent_bg = true, transparent_bg = false,
transparent_cursorline = false,
options = { options = {
multilines = { multilines = {
enabled = true, enabled = true,