diff --git a/lsp/azure-devops.lua b/lsp/azure-devops.lua new file mode 100644 index 0000000..eb88c66 --- /dev/null +++ b/lsp/azure-devops.lua @@ -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", + }, + }, + }, + }, +} diff --git a/lua/weeheavy/prefs.lua b/lua/weeheavy/prefs.lua index dda8a26..d870b29 100644 --- a/lua/weeheavy/prefs.lua +++ b/lua/weeheavy/prefs.lua @@ -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