feat: add Azure DevOps LSP (blergh)

This commit is contained in:
Oliver Ladner 2026-03-09 14:08:50 +01:00
commit a2a880a03e
2 changed files with 22 additions and 1 deletions

19
lsp/azure-devops.lua Normal file
View file

@ -0,0 +1,19 @@
---@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",
},
},
},
},
}

View file

@ -16,6 +16,7 @@ vim.lsp.enable({
"elixir",
"json",
"bash",
"azure-devops",
})
-- Set highlight on search
@ -69,7 +70,8 @@ vim.opt.wrap = false
vim.opt.termguicolors = true
-- Themes:
vim.cmd.colorscheme("rose-pine")
-- vim.cmd.colorscheme("rose-pine")
vim.cmd.colorscheme("kanso")
-- vim.opt.background = "light" -- light, dark
-- Decrease update time