Add support for azure pipelines
This commit is contained in:
@@ -2,6 +2,14 @@
|
|||||||
local vue_typescript_plugin_path = vim.fs.normalize '~/node_modules/@vue/typescript-plugin'
|
local vue_typescript_plugin_path = vim.fs.normalize '~/node_modules/@vue/typescript-plugin'
|
||||||
local vue_language_server_path = vim.fs.normalize(vim.fn.stdpath 'data' .. '/mason/packages/vue-language-server/node_modules/@vue/language-server')
|
local vue_language_server_path = vim.fs.normalize(vim.fn.stdpath 'data' .. '/mason/packages/vue-language-server/node_modules/@vue/language-server')
|
||||||
|
|
||||||
|
local azurePipelineFileGlobs = {
|
||||||
|
'/azure-pipeline*.y*l',
|
||||||
|
'/*.azure*',
|
||||||
|
'Azure-Pipelines/**/*.y*l',
|
||||||
|
'azure-pipelines/**/*.y*l',
|
||||||
|
'Pipelines/*.y*l',
|
||||||
|
}
|
||||||
|
|
||||||
-- "<leader>sh" to [s]earch the [h]elp documentation.
|
-- "<leader>sh" to [s]earch the [h]elp documentation.
|
||||||
|
|
||||||
-- Set <space> as the leader key
|
-- Set <space> as the leader key
|
||||||
@@ -618,7 +626,16 @@ require('lazy').setup({
|
|||||||
settings = {
|
settings = {
|
||||||
yaml = {
|
yaml = {
|
||||||
schemas = {
|
schemas = {
|
||||||
['https://raw.githubusercontent.com/yannh/kubernetes-json-schema/refs/heads/master/v1.32.1-standalone-strict/all.json'] = vim.fs.normalize '/*.manifest.yaml',
|
['kubernetes'] = { '/*.manifest.yaml', '/*.k8s.yaml' },
|
||||||
|
-- Azure pipelines support (azure_pipelines_ls not needed for syntax)
|
||||||
|
['https://raw.githubusercontent.com/microsoft/azure-pipelines-vscode/master/service-schema.json'] = {
|
||||||
|
'/azure-pipeline*.y*l',
|
||||||
|
'/*.azure*',
|
||||||
|
'Azure-Pipelines/**/*.y*l',
|
||||||
|
'azure-pipelines/**/*.y*l',
|
||||||
|
'Pipelines/*.y*l',
|
||||||
|
'/*.pipeline.yaml',
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user