Fix #13: more selective file.associations for task files
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -52,7 +52,7 @@
|
||||
"Concourse Task"
|
||||
],
|
||||
"filenamePatterns": [
|
||||
"*task*.yml",
|
||||
"*task.yml",
|
||||
"**/tasks/*.yml"
|
||||
],
|
||||
"firstLine": "^#(\\s)*task(\\s)*",
|
||||
|
||||
Reference in New Issue
Block a user