enabled LSP update in insert

This commit is contained in:
Daniel Knuettel 2021-11-13 14:53:29 +01:00
parent f205eb7a02
commit 9776969c94

View File

@ -186,9 +186,10 @@ lua << EOF
vim.lsp.handlers["textDocument/publishDiagnostics"] = vim.lsp.with( vim.lsp.handlers["textDocument/publishDiagnostics"] = vim.lsp.with(
vim.lsp.diagnostic.on_publish_diagnostics, { vim.lsp.diagnostic.on_publish_diagnostics, {
underline = true, underline = true
, update_in_insert = true
-- This sets the spacing and the prefix, obviously. -- This sets the spacing and the prefix, obviously.
virtual_text = { , virtual_text = {
spacing = 4 spacing = 4
, prefix = '🔙' , prefix = '🔙'
} }