configure yamlls for kubernetes resources with extension .k8s.yaml (#6)

This commit is contained in:
peturparkur 2025-08-03 22:29:26 +02:00 committed by GitHub
parent 14573da6df
commit 2fa0eab1a7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -111,8 +111,8 @@ local Languages = {
settings = { settings = {
yaml = { yaml = {
schemas = { schemas = {
kubernetes = '*.k8s.yaml', -- TODO: consider using *.k8s.yaml for kubernetes schemas
extra = { extra = {
-- kubernetes = 'k8s-*.yaml', -- TODO: consider using *.k8s.yaml for kubernetes schemas
['http://json.schemastore.org/github-workflow'] = '.github/workflows/*', ['http://json.schemastore.org/github-workflow'] = '.github/workflows/*',
['http://json.schemastore.org/github-action'] = '.github/action.{yml,yaml}', ['http://json.schemastore.org/github-action'] = '.github/action.{yml,yaml}',
['http://json.schemastore.org/ansible-stable-2.9'] = 'roles/tasks/**/*.{yml,yaml}', ['http://json.schemastore.org/ansible-stable-2.9'] = 'roles/tasks/**/*.{yml,yaml}',