lspconfig : update diagnostics in insert mode
This commit is contained in:
parent
17b5336254
commit
c98334ae08
2 changed files with 4 additions and 2 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
0
nn.lua
Normal file
0
nn.lua
Normal file
Loading…
Reference in a new issue