mirror of
https://github.com/marianozunino/nvim.git
synced 2025-06-28 18:43:50 -03:00
batman!
This commit is contained in:
commit
ae7d9bf4b6
63 changed files with 2160 additions and 0 deletions
21
lua/config/plugins/lsp/servers/yamlls.lua
Normal file
21
lua/config/plugins/lsp/servers/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