Skip to content

Commit 030b95a

Browse files
committed
Json format
1 parent 3006e25 commit 030b95a

1 file changed

Lines changed: 32 additions & 16 deletions

File tree

extensions/yaml/package.json

Lines changed: 32 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,29 +4,45 @@
44
"description": "%description%",
55
"version": "0.1.0",
66
"publisher": "vscode",
7-
"engines": { "vscode": "*" },
7+
"engines": {
8+
"vscode": "*"
9+
},
810
"scripts": {
911
"update-grammar": "node ../../build/npm/update-grammar.js textmate/yaml.tmbundle Syntaxes/YAML.tmLanguage ./syntaxes/yaml.tmLanguage.json"
1012
},
1113
"contributes": {
12-
"languages": [{
13-
"id": "yaml",
14-
"aliases": ["YAML", "yaml"],
15-
"extensions": [".eyaml", ".eyml", ".yaml", ".yml"],
16-
"filenames": [ "yarn.lock" ],
17-
"firstLine": "^#cloud-config",
18-
"configuration": "./language-configuration.json"
19-
}],
20-
"grammars": [{
21-
"language": "yaml",
22-
"scopeName": "source.yaml",
23-
"path": "./syntaxes/yaml.tmLanguage.json"
24-
}],
14+
"languages": [
15+
{
16+
"id": "yaml",
17+
"aliases": [
18+
"YAML",
19+
"yaml"
20+
],
21+
"extensions": [
22+
".eyaml",
23+
".eyml",
24+
".yaml",
25+
".yml"
26+
],
27+
"filenames": [
28+
"yarn.lock"
29+
],
30+
"firstLine": "^#cloud-config",
31+
"configuration": "./language-configuration.json"
32+
}
33+
],
34+
"grammars": [
35+
{
36+
"language": "yaml",
37+
"scopeName": "source.yaml",
38+
"path": "./syntaxes/yaml.tmLanguage.json"
39+
}
40+
],
2541
"configurationDefaults": {
2642
"[yaml]": {
2743
"editor.insertSpaces": true,
28-
"editor.tabSize": 2,
29-
"editor.autoIndent": false
44+
"editor.tabSize": 2,
45+
"editor.autoIndent": false
3046
}
3147
}
3248
}

0 commit comments

Comments
 (0)