Use schemastore plugin for yamlls
This commit is contained in:
@@ -9,5 +9,15 @@ return {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
end
|
|
||||||
|
vim.lsp.config("yamlls", {
|
||||||
|
settings = {
|
||||||
|
yaml = {
|
||||||
|
-- Using the schemastore plugin for schemas.
|
||||||
|
schemastore = { enable = false, url = "" },
|
||||||
|
schemas = require("schemastore").yaml.schemas(),
|
||||||
|
},
|
||||||
|
},
|
||||||
|
})
|
||||||
|
end,
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user