Use schemastore plugin for yamlls
This commit is contained in:
parent
3f9ec6a29f
commit
644edc8b2e
|
@ -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,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user