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 {
settings = {
redhat = {
telemetry = {
enabled = false
}
},
redhat = { telemetry = { enabled = false } },
yaml = {
validate = true,
schemaStore = {
enable = true
},
format = {
enable = true,
singleQuote = true
},
customTags = {
"!fn",
"!And",
@@ -33,7 +21,11 @@ return {
"!Select",
"!Split",
"!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'
})
local cfg = require('yaml-companion').setup {
builtin_matchers = {
kubernetes = { enabled = true },
cloud_init = { enabled = true }
}
}
local cfg = require('yaml-companion').setup()
vim.lsp.config('yamlls', cfg)
vim.lsp.enable('yamlls')