From a3353cc601c781eedce3cac318fcace6d062d448 Mon Sep 17 00:00:00 2001 From: Sonny Bakker Date: Fri, 3 Jan 2025 21:31:15 +0100 Subject: [PATCH] Show diagnostics source --- templates/nvim/lua/lsp.lua.j2 | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/templates/nvim/lua/lsp.lua.j2 b/templates/nvim/lua/lsp.lua.j2 index 679f983..df5144e 100644 --- a/templates/nvim/lua/lsp.lua.j2 +++ b/templates/nvim/lua/lsp.lua.j2 @@ -147,3 +147,10 @@ cmp.setup({ end, }, }) + +vim.diagnostic.config({ + float = { + source = 'always', + border = border + }, +})