diff --git a/lua/plugins/nvim-lspconfig.lua b/lua/plugins/nvim-lspconfig.lua index 265a943..ed7d405 100644 --- a/lua/plugins/nvim-lspconfig.lua +++ b/lua/plugins/nvim-lspconfig.lua @@ -189,6 +189,11 @@ return { require 'lspconfig'.yamlls.setup { on_attach = on_attach, capabilities = capabilities, + settings = { + yaml = { + schemas = { kubernetes = "*{deployment,cron,service,volume,secret,ingress,svc,pvc}*.yaml" }, + } + } } require 'lspconfig'.lemminx.setup {