Enable virtual lines diagnostics from nvim 0.11

This commit is contained in:
Martin Lasson 2025-04-10 09:16:20 +02:00
parent 9288819747
commit 200e3dbc79

View file

@ -28,9 +28,12 @@ end
local sev = vim.diagnostic.severity local sev = vim.diagnostic.severity
vim.diagnostic.config({ vim.diagnostic.config({
underline = true, underline = true,
virtual_text = { -- This enables the diagnostics at end of line
prefix = "", -- virtual_text = {
}, -- prefix = "●",
-- },
-- This enables the separate buffer diagnostics
virtual_lines = true,
update_in_insert = true, update_in_insert = true,
signs = { signs = {
text = { text = {