提交 aa410676 编写于 作者: C Chris Moen 提交者: Tomas Vik

399 - expand glob pattern for gitlab-ci.yml file

上级 3172fcaa
......@@ -62,7 +62,7 @@ Supports multiple GitLab instances [Read more](#multiple-gitlab-instances).
Published also on [Open VSX Registry](https://open-vsx.org/extension/GitLab/gitlab-workflow).
You can use [autocompletion of GitLab CI variables](#ci-variable-autocompletion) in your `.gitlab-ci.yml`.
You can use [autocompletion of GitLab CI variables](#ci-variable-autocompletion) in your `.gitlab-ci.yml` pipeline file. If you have additional pipeline files you would like to use autocomplete with, it matches on any file beginning with `.gitlab-ci` and ending with `.yml` or `.yaml`. For example: `.gitlab-ci.production.yml`.
## Setup
......
......@@ -99,7 +99,7 @@ const registerCommands = (context, outputChannel) => {
const registerCiCompletion = context => {
const subscription = vscode.languages.registerCompletionItemProvider(
{ pattern: '**/.gitlab-ci.{yml,yaml}' },
{ pattern: '**/.gitlab-ci*.{yml,yaml}' },
new CiCompletionProvider(),
'$',
);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册