neovim/lsp/azure-devops.lua

19 lines
625 B
Lua

---@type vim.lsp.Config
return {
filetypes = { "yaml" },
cmd = { "azure-pipelines-language-server", "--stdio" },
root_markers = { "azure-pipelines.yml", "azure-pipelines" },
settings = {
yaml = {
schemas = {
["https://raw.githubusercontent.com/microsoft/azure-pipelines-vscode/master/service-schema.json"] = {
"/azure-pipeline*.y*l",
"/*.azure*",
"Azure-Pipelines/**/*.y*l",
"Pipelines/*.y*l",
"azure-pipelines/*.y*l",
},
},
},
},
}