diff --git a/lua/setup/lspinstall.lua b/lua/setup/lspinstall.lua index 9ef067e..d56732c 100644 --- a/lua/setup/lspinstall.lua +++ b/lua/setup/lspinstall.lua @@ -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)