diff --git a/lsp/yamlls.lua b/lsp/yamlls.lua index fbd93e7..11dd5bf 100644 --- a/lsp/yamlls.lua +++ b/lsp/yamlls.lua @@ -1,9 +1,19 @@ return { settings = { yaml = { + schemaStore = { + enable = false, + url = '', + }, + -- parse Kubernetes CRDs automatically and download them from the CRD store. + kubernetesCRDStore = { + enable = true, + }, + -- Can never be emtpy, because of a nvim-k8s-crd bug schemas = { - sdf = '.yaml', + ['https://json.schemastore.org/kustomization.json'] = '**/kustomization.yaml', }, + validate = true, }, }, }