disable diagnostics update in insert mode
This commit is contained in:
@@ -177,7 +177,7 @@ lsp_installer.on_server_ready(function(server)
|
||||
end)
|
||||
|
||||
vim.lsp.handlers["textDocument/publishDiagnostics"] = vim.lsp.with(vim.lsp.diagnostic.on_publish_diagnostics, {
|
||||
update_in_insert = true,
|
||||
update_in_insert = false,
|
||||
virtual_text = {
|
||||
severity_limit = "Warning",
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user