support pipeline dir as well see [524]

This commit is contained in:
ramonskie
2020-08-26 11:55:42 +02:00
parent 350eea5369
commit 583bd9b589
2 changed files with 3 additions and 2 deletions

View File

@@ -8,7 +8,7 @@ for editing [Concourse](https://concourse-ci.org/) Pipeline and Task configurati
The Concourse editor automatically activates when the name of the `.yml` file you are editing
follows a certain pattern:
- `**/*pipeline*.yml` : activates support for editing pipelines
- `**/*pipeline*.yml` | `**/pipeline/*.yml` : activates support for editing pipelines
- `**/tasks/*.yml` | `**/*task.yml` : activates support for editing tasks.
You can also define your own patterns and map them to the language-ids `concourse-pipeline-yaml`

View File

@@ -69,7 +69,8 @@
"Concourse Pipeline"
],
"filenamePatterns": [
"*pipeline*.yml"
"*pipeline*.yml",
"**/pipeline/*.yml"
],
"firstLine": "^#(\\s)*pipeline(\\s)*",
"configuration": "./yaml-support/language-configuration.json"