Support dockercompose and github-actions-workflow (#17101)
Co-authored-by: SUZUKI Sosuke <aosukeke@gmail.com>
This commit is contained in:
1 parent
59e3696c9e
commit
9cf8ec23f6
4 files changed
+18
-2
No files matched your search
@@ -0,0 +1,3 @@
|
||||
#### Support dockercompose and github-actions-workflow in VSCode (#17101 by @remcohaszing)
|
||||
|
||||
Prettier now supports the `dockercompose` and `github-actions-workflow` languages in Visual Studio Code.
|
||||
@@ -64,6 +64,7 @@
|
||||
"devcontainer",
|
||||
"devs",
|
||||
"docblocks",
|
||||
"dockercompose",
|
||||
"doctag",
|
||||
"Dodds",
|
||||
"Dolzhykov",
|
||||
|
||||
@@ -4,7 +4,13 @@ import createLanguage from "../utils/create-language.js";
|
||||
const languages = [
|
||||
createLanguage(linguistLanguages.YAML, (data) => ({
|
||||
parsers: ["yaml"],
|
||||
vscodeLanguageIds: ["yaml", "ansible", "home-assistant"],
|
||||
vscodeLanguageIds: [
|
||||
"yaml",
|
||||
"ansible",
|
||||
"dockercompose",
|
||||
"github-actions-workflow",
|
||||
"home-assistant",
|
||||
],
|
||||
// yarn.lock is not YAML: https://github.com/yarnpkg/yarn/issues/5629
|
||||
filenames: [
|
||||
...data.filenames.filter((filename) => filename !== "yarn.lock"),
|
||||
|
||||
@@ -771,7 +771,13 @@ exports[`CLI --support-info (stdout) 1`] = `
|
||||
"parsers": ["yaml"],
|
||||
"tmScope": "source.yaml",
|
||||
"type": "data",
|
||||
"vscodeLanguageIds": ["yaml", "ansible", "home-assistant"]
|
||||
"vscodeLanguageIds": [
|
||||
"yaml",
|
||||
"ansible",
|
||||
"dockercompose",
|
||||
"github-actions-workflow",
|
||||
"home-assistant"
|
||||
]
|
||||
}
|
||||
],
|
||||
"options": [
|
||||
|
||||
Reference in new issue
Block a user