feat: add Azure DevOps LSP (blergh)
This commit is contained in:
parent
3bcf58333f
commit
a2a880a03e
2 changed files with 22 additions and 1 deletions
19
lsp/azure-devops.lua
Normal file
19
lsp/azure-devops.lua
Normal 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",
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue