diff --git a/extension.js b/extension.js index 6789a48..02e6a37 100644 --- a/extension.js +++ b/extension.js @@ -4,7 +4,8 @@ const vscode = require("vscode"); const yamlformattedLanguages = [ "yaml", - "github-actions-workflow" // Provided in https://github.com/github/vscode-github-actions + "github-actions-workflow", // Provided in https://github.com/github/vscode-github-actions + "dockercompose", // Provided in https://github.com/Microsoft/vscode-docker ]; const provider = { provideDocumentFormattingEdits(document) { diff --git a/package.json b/package.json index c6762a0..6754ecf 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,8 @@ ], "activationEvents": [ "onLanguage:yaml", - "onLanguage:github-actions-workflow" + "onLanguage:github-actions-workflow", + "onLanguage:dockercompose" ], "main": "./extension.js", "contributes": {