lspconfig : update diagnostics in insert mode

This commit is contained in:
siduck76 2021-07-24 09:59:39 +05:30
parent 17b5336254
commit c98334ae08
2 changed files with 4 additions and 2 deletions

View File

@ -104,12 +104,14 @@ vim.lsp.handlers["textDocument/publishDiagnostics"] =
vim.lsp.diagnostic.on_publish_diagnostics,
{
virtual_text = {
-- prefix = "",
prefix = "",
spacing = 0
},
signs = true,
underline = true
underline = true,
-- set this to true if you want diagnostics to show in insert mode
update_in_insert = false
}
)

0
nn.lua Normal file
View File