From 9776969c945f811d8a9754b95fe7f0d4114ea794 Mon Sep 17 00:00:00 2001 From: Daniel Knuettel Date: Sat, 13 Nov 2021 14:53:29 +0100 Subject: [PATCH] enabled LSP update in insert --- init.vim | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/init.vim b/init.vim index ece5098..f94ae13 100644 --- a/init.vim +++ b/init.vim @@ -186,12 +186,13 @@ lua << EOF vim.lsp.handlers["textDocument/publishDiagnostics"] = vim.lsp.with( vim.lsp.diagnostic.on_publish_diagnostics, { - underline = true, - -- This sets the spacing and the prefix, obviously. - virtual_text = { - spacing = 4 - , prefix = '🔙' - } + underline = true + , update_in_insert = true + -- This sets the spacing and the prefix, obviously. + , virtual_text = { + spacing = 4 + , prefix = '🔙' + } }) EOF