vscode/extensions/yaml/package.json

84 lines
1.9 KiB
JSON
Raw Normal View History

2024-11-15 06:29:18 +00:00
{
"name": "yaml",
"displayName": "%displayName%",
"description": "%description%",
"version": "1.0.0",
"publisher": "vscode",
"license": "MIT",
"engines": {
"vscode": "*"
},
"scripts": {
"update-grammar": "node ./build/update-grammar.js"
},
"categories": ["Programming Languages"],
"contributes": {
"languages": [
{
"id": "dockercompose",
"aliases": [
"Compose",
"compose"
],
"filenamePatterns": [
"compose.yml",
"compose.yaml",
"compose.*.yml",
"compose.*.yaml",
"*docker*compose*.yml",
"*docker*compose*.yaml"
],
"configuration": "./language-configuration.json"
},
{
"id": "yaml",
"aliases": [
"YAML",
"yaml"
],
"extensions": [
".yaml",
".yml",
".eyaml",
".eyml",
".cff",
".yaml-tmlanguage",
".yaml-tmpreferences",
".yaml-tmtheme"
],
"firstLine": "^#cloud-config",
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "dockercompose",
"scopeName": "source.yaml",
"path": "./syntaxes/yaml.tmLanguage.json"
},
{
"language": "yaml",
"scopeName": "source.yaml",
"path": "./syntaxes/yaml.tmLanguage.json"
}
],
"configurationDefaults": {
"[yaml]": {
"editor.insertSpaces": true,
"editor.tabSize": 2,
"editor.autoIndent": "advanced",
"diffEditor.ignoreTrimWhitespace": false
},
"[dockercompose]": {
"editor.insertSpaces": true,
"editor.tabSize": 2,
"editor.autoIndent": "advanced"
}
}
},
"repository": {
"type": "git",
"url": "https://github.com/microsoft/vscode.git"
}
}