yamls add kubernetes yaml globs
This commit is contained in:
parent
3cac886e40
commit
3662e70092
1 changed files with 5 additions and 0 deletions
|
@ -189,6 +189,11 @@ return {
|
||||||
require 'lspconfig'.yamlls.setup {
|
require 'lspconfig'.yamlls.setup {
|
||||||
on_attach = on_attach,
|
on_attach = on_attach,
|
||||||
capabilities = capabilities,
|
capabilities = capabilities,
|
||||||
|
settings = {
|
||||||
|
yaml = {
|
||||||
|
schemas = { kubernetes = "*{deployment,cron,service,volume,secret,ingress,svc,pvc}*.yaml" },
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
require 'lspconfig'.lemminx.setup {
|
require 'lspconfig'.lemminx.setup {
|
||||||
|
|
Loading…
Reference in a new issue