lspconfig : update diagnostics in insert mode
This commit is contained in:
parent
17b5336254
commit
c98334ae08
|
@ -104,12 +104,14 @@ vim.lsp.handlers["textDocument/publishDiagnostics"] =
|
||||||
vim.lsp.diagnostic.on_publish_diagnostics,
|
vim.lsp.diagnostic.on_publish_diagnostics,
|
||||||
{
|
{
|
||||||
virtual_text = {
|
virtual_text = {
|
||||||
-- prefix = "",
|
|
||||||
prefix = "",
|
prefix = "",
|
||||||
spacing = 0
|
spacing = 0
|
||||||
},
|
},
|
||||||
signs = true,
|
signs = true,
|
||||||
underline = true
|
underline = true,
|
||||||
|
|
||||||
|
-- set this to true if you want diagnostics to show in insert mode
|
||||||
|
update_in_insert = false
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue