fix: Actually fixing the yaml-companion setup. Testing needs to continue

with verifying schemaStore will work from fresh install.
This commit is contained in:
2026-06-04 18:29:06 -05:00
parent 08b5c6a247
commit 28649d7907
2 changed files with 7 additions and 20 deletions

View File

@@ -1,19 +1,7 @@
return { return {
settings = { settings = {
redhat = { redhat = { telemetry = { enabled = false } },
telemetry = {
enabled = false
}
},
yaml = { yaml = {
validate = true,
schemaStore = {
enable = true
},
format = {
enable = true,
singleQuote = true
},
customTags = { customTags = {
"!fn", "!fn",
"!And", "!And",
@@ -33,7 +21,11 @@ return {
"!Select", "!Select",
"!Split", "!Split",
"!Join sequence" "!Join sequence"
} },
format = { enable = true, singleQuote = true },
hover = true,
schemaStore = { enable = true },
validate = true,
} }
} }
} }

View File

@@ -2,12 +2,7 @@ vim.pack.add({
'https://github.com/mosheavni/yaml-companion.nvim' 'https://github.com/mosheavni/yaml-companion.nvim'
}) })
local cfg = require('yaml-companion').setup { local cfg = require('yaml-companion').setup()
builtin_matchers = {
kubernetes = { enabled = true },
cloud_init = { enabled = true }
}
}
vim.lsp.config('yamlls', cfg) vim.lsp.config('yamlls', cfg)
vim.lsp.enable('yamlls') vim.lsp.enable('yamlls')