Skip to content

Commit 7f3d512

Browse files
Merge pull request #1105 from albertocavalcante/main
Add language `github-actions-workflow`
2 parents 28c9412 + 5b827d2 commit 7f3d512

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@
4040
},
4141
"activationEvents": [
4242
"onLanguage:yaml",
43-
"onLanguage:dockercompose"
43+
"onLanguage:dockercompose",
44+
"onLanguage:github-actions-workflow"
4445
],
4546
"keywords": [
4647
"kubernetes",

src/extension.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ export function startClient(
116116
// Options to control the language client
117117
const clientOptions: LanguageClientOptions = {
118118
// Register the server for on disk and newly created YAML documents
119-
documentSelector: [{ language: 'yaml' }, { language: 'dockercompose' }, { pattern: '*.y(a)ml' }],
119+
documentSelector: [{ language: 'yaml' }, { language: 'dockercompose' }, { language: 'github-actions-workflow' }, { pattern: '*.y(a)ml' }],
120120
synchronize: {
121121
// Notify the server about file changes to YAML and JSON files contained in the workspace
122122
fileEvents: [workspace.createFileSystemWatcher('**/*.?(e)y?(a)ml'), workspace.createFileSystemWatcher('**/*.json')],

0 commit comments

Comments
 (0)