From 200e3dbc79310547327096737f520ab4339d0687 Mon Sep 17 00:00:00 2001 From: Martin Lasson Date: Thu, 10 Apr 2025 09:16:20 +0200 Subject: [PATCH] Enable virtual lines diagnostics from nvim 0.11 --- nvim/lua/diagnostics.lua | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/nvim/lua/diagnostics.lua b/nvim/lua/diagnostics.lua index 754b5eb..4ae79e7 100644 --- a/nvim/lua/diagnostics.lua +++ b/nvim/lua/diagnostics.lua @@ -28,9 +28,12 @@ end local sev = vim.diagnostic.severity vim.diagnostic.config({ underline = true, - virtual_text = { - prefix = "●", - }, + -- This enables the diagnostics at end of line + -- virtual_text = { + -- prefix = "●", + -- }, + -- This enables the separate buffer diagnostics + virtual_lines = true, update_in_insert = true, signs = { text = {