You've already forked dotfiles
fix: Actually fixing the yaml-companion setup. Testing needs to continue
with verifying schemaStore will work from fresh install.
This commit is contained in:
@@ -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,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user