When you are in the insert mode you see the errors nvim
This commit is contained in:
parent
54ee5a8b7a
commit
baba0677c6
@ -198,6 +198,11 @@ for _, lsp in pairs(servers) do
|
|||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- Handlers when you are in the insert mode you see the errors
|
||||||
|
vim.lsp.handlers["textDocument/publishDiagnostics"] =
|
||||||
|
vim.lsp.with(vim.lsp.diagnostic.on_publish_diagnostics,
|
||||||
|
{update_in_insert = true})
|
||||||
|
|
||||||
require'lspconfig'.yamlls.setup{
|
require'lspconfig'.yamlls.setup{
|
||||||
settings = {
|
settings = {
|
||||||
json = {
|
json = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user