mirror of
https://github.com/marianozunino/nvim.git
synced 2025-06-28 18:43:50 -03:00
dev: automated commit - 2025-05-28 14:17:15
This commit is contained in:
parent
cc9b3f716e
commit
a2d2fcb86e
9 changed files with 69 additions and 93 deletions
21
lsp/yamlls.lua
Normal file
21
lsp/yamlls.lua
Normal file
|
@ -0,0 +1,21 @@
|
|||
return {
|
||||
settings = {
|
||||
yaml = {
|
||||
schemaStore = {
|
||||
-- You must disable built-in schemaStore support if you want to use
|
||||
-- this plugin and its advanced options like `ignore`.
|
||||
enable = false,
|
||||
-- Avoid TypeError: Cannot read properties of undefined (reading 'length')
|
||||
url = "",
|
||||
},
|
||||
schemas = require("schemastore").yaml.schemas({
|
||||
-- additional schemas (not in the catalog)
|
||||
extra = {
|
||||
url = "https://raw.githubusercontent.com/datreeio/CRDs-catalog/main/argoproj.io/application_v1alpha1.json",
|
||||
name = "Argo CD Application",
|
||||
fileMatch = "argocd-application.yaml",
|
||||
},
|
||||
}),
|
||||
},
|
||||
},
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue