From cd295ecfdab481eaabb5752c0606a0d74fb0113e Mon Sep 17 00:00:00 2001 From: Martin Larsson Date: Tue, 23 Dec 2025 10:40:50 +0100 Subject: [PATCH] Change style of tiny inline diagnostics and make them play nicely with lightbulbs from LSP --- nvim/lua/plugs/nvim-lightbulb.lua | 6 +++--- nvim/lua/plugs/tiny-inline-diagnostics.lua | 5 +++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/nvim/lua/plugs/nvim-lightbulb.lua b/nvim/lua/plugs/nvim-lightbulb.lua index edccacc..580f341 100644 --- a/nvim/lua/plugs/nvim-lightbulb.lua +++ b/nvim/lua/plugs/nvim-lightbulb.lua @@ -3,10 +3,10 @@ return { opts = { hide_in_unfocused_buffer = true, code_lenses = true, - sign = { enabled = false, }, - virtual_text = { enabled = true, }, + sign = { enabled = true, }, + virtual_text = { enabled = false, }, float = { enabled = false, }, status_text = { enabled = false, }, - autocmd = { enabled = true, }, + autocmd = { enabled = true, updatetime = 25, }, }, } diff --git a/nvim/lua/plugs/tiny-inline-diagnostics.lua b/nvim/lua/plugs/tiny-inline-diagnostics.lua index c0d0301..8db3078 100644 --- a/nvim/lua/plugs/tiny-inline-diagnostics.lua +++ b/nvim/lua/plugs/tiny-inline-diagnostics.lua @@ -4,8 +4,9 @@ return { priority = 1000, config = function() require("tiny-inline-diagnostic").setup({ - preset = "classic", - transparent_bg = true, + preset = "modern", + transparent_bg = false, + transparent_cursorline = false, options = { multilines = { enabled = true,