We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent de78c0e commit eb9fb4dCopy full SHA for eb9fb4d
src/languageserver/handlers/settingsHandlers.ts
@@ -163,7 +163,12 @@ export class SettingsHandler {
163
if (enableFormatter) {
164
if (!this.yamlSettings.formatterRegistration) {
165
this.yamlSettings.formatterRegistration = this.connection.client.register(DocumentFormattingRequest.type, {
166
- documentSelector: [{ language: 'yaml' }],
+ documentSelector: [
167
+ { language: 'yaml' },
168
+ { language: 'dockercompose' },
169
+ { language: 'github-actions-workflow' },
170
+ { pattern: '*.y(a)ml' },
171
+ ],
172
});
173
}
174
} else if (this.yamlSettings.formatterRegistration) {
0 commit comments