mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 13:00:58 +00:00
48 lines
1 KiB
JSON
48 lines
1 KiB
JSON
{
|
|
"name": "yaml",
|
|
"displayName": "%displayName%",
|
|
"description": "%description%",
|
|
"version": "1.0.0",
|
|
"publisher": "vscode",
|
|
"license": "MIT",
|
|
"engines": {
|
|
"vscode": "*"
|
|
},
|
|
"scripts": {
|
|
"update-grammar": "node ../../build/npm/update-grammar.js textmate/yaml.tmbundle Syntaxes/YAML.tmLanguage ./syntaxes/yaml.tmLanguage.json"
|
|
},
|
|
"contributes": {
|
|
"languages": [
|
|
{
|
|
"id": "yaml",
|
|
"aliases": [
|
|
"YAML",
|
|
"yaml"
|
|
],
|
|
"extensions": [
|
|
".yml",
|
|
".eyaml",
|
|
".eyml",
|
|
".yaml"
|
|
],
|
|
"firstLine": "^#cloud-config",
|
|
"configuration": "./language-configuration.json"
|
|
}
|
|
],
|
|
"grammars": [
|
|
{
|
|
"language": "yaml",
|
|
"scopeName": "source.yaml",
|
|
"path": "./syntaxes/yaml.tmLanguage.json"
|
|
}
|
|
],
|
|
"configurationDefaults": {
|
|
"[yaml]": {
|
|
"editor.insertSpaces": true,
|
|
"editor.tabSize": 2,
|
|
"editor.autoIndent": "advanced"
|
|
}
|
|
}
|
|
}
|
|
}
|