don't validate yaml files

This commit is contained in:
Oliver Hartmann 2022-05-02 10:28:46 +02:00
parent e34744b677
commit 6c8531b67a

View File

@ -152,6 +152,13 @@ lsp_installer.on_server_ready(function(server)
},
}
end
if server.name == 'yamlls' then
opts.settings = {
yaml = {
validate = false
}
}
end
-- This setup() function is exactly the same as lspconfig's setup function (:help lspconfig-quickstart)
server:setup(opts)