Fix #13: more selective file.associations for task files

This commit is contained in:
Kris De Volder
2017-08-18 13:35:28 -07:00
parent 89fd13943d
commit 7c6e0f53f8
2 changed files with 2 additions and 2 deletions

View File

@@ -9,7 +9,7 @@ The Concourse editor automatically activates when the name of the `.yml` file y
follows a certain pattern:
- `**/*pipeline*.yml` : activates support for editing pipelines
- `**/tasks/*.yml` : activates support for editing tasks.
- `**/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`
or `concourse-task-yaml` by defining `files.associations` in workspace settings.

View File

@@ -52,7 +52,7 @@
"Concourse Task"
],
"filenamePatterns": [
"*task*.yml",
"*task.yml",
"**/tasks/*.yml"
],
"firstLine": "^#(\\s)*task(\\s)*",