mirror of
https://github.com/CompeyDev/my-nvim-setup.git
synced 2024-12-13 05:20:38 +00:00
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,
|
||||
{
|
||||
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
0
nn.lua
Normal file
Loading…
Reference in a new issue