Open
Description
openedon Mar 2, 2024
Up to 0.7.0 I was able to use the language server with a good setup on Neovim with mason_lsp_config and attach the server to my files. After the recent updates I'm getting some error messages when I try to use it, yet I didn't see any warning about breaking changes.
Neovim Version: 0.9.5
I had the same errors running on ubuntu 23.04 natively and 22.04 on WSL
I installed the LSP from Mason and was running it with this config:
--- Setup Mason LSP Install
require("mason").setup({})
require("mason-lspconfig").setup({
ensure_installed = {
"azure_pipelines_ls",
}
handlers = {
lsp.default_setup,
azure_pipelines_ls = function()
require("lspconfig").azure_pipelines_ls.setup(my_handlers.azure())
end,
},
Here is the handlers config returning the LS options table:
local M = {}
function M.azure()
local opts = {
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",
"cap/**/*.y*l",
"cap/*.y*l",
"veiling/**/*.y*l",
"veiling/*.y*l",
},
},
},
},
}
return opts
end
return M
From 0.8.0 onwards I get an assertion error when the nvim lsp client tries to start the language server.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Metadata
Assignees
Labels
No labels