diff --git a/lua/lsp_settings.lua b/lua/lsp_settings.lua index a95e2ed..ca75aef 100644 --- a/lua/lsp_settings.lua +++ b/lua/lsp_settings.lua @@ -78,5 +78,15 @@ require('mason-lspconfig').setup_handlers { } }, } + require("lspconfig")['yamlls'].setup { + on_attach = on_attach, + flags = lsp_flags, + capabilities = capabilities, + settings = { + yaml = { + keyOrdering = false + } + }, + } end }