feat(nvim): add yamlls
This commit is contained in:
parent
0309b19aa1
commit
7bf1d29cd6
@ -178,6 +178,22 @@ lsp.gopls.setup {
|
||||
on_attach = on_attach
|
||||
}
|
||||
|
||||
lsp.yamlls.setup({
|
||||
capabilities = capabilities,
|
||||
on_attach = on_attach,
|
||||
settings = {
|
||||
yaml = {
|
||||
schemas = {
|
||||
["https://raw.githubusercontent.com/quantumblacklabs/kedro/develop/static/jsonschema/kedro-catalog-0.17.json"] = "conf/**/*catalog*",
|
||||
["https://json.schemastore.org/github-workflow.json"] = "/.github/workflows/*",
|
||||
["https://raw.githubusercontent.com/SchemaStore/schemastore/master/src/schemas/json/traefik-v2-file-provider.json"] = "rules.yml",
|
||||
["https://github.com/SchemaStore/schemastore/blob/master/src/schemas/json/traefik-v2.json"] = "traefik.yml"
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
lsp.ltex.setup({
|
||||
capabilities = capabilities,
|
||||
on_attach = on_attach,
|
||||
|
Loading…
Reference in New Issue
Block a user