Skip to content

Commit ee26aa4

Browse files
committed
Merge branch 'main' of https://github.com/ModerCore/Moder
2 parents cb03c1e + 6650f51 commit ee26aa4

19 files changed

+1014
-125
lines changed
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
"registrations": [
3+
{
4+
"component": {
5+
"type": "git",
6+
"git": {
7+
"name": "textmate/yaml.tmbundle",
8+
"repositoryUrl": "https://github.com/textmate/yaml.tmbundle",
9+
"commitHash": "e54ceae3b719506dba7e481a77cea4a8b576ae46"
10+
}
11+
},
12+
"licenseDetail": [
13+
"Copyright (c) 2015 FichteFoll <[email protected]>",
14+
"",
15+
"Permission is hereby granted, free of charge, to any person obtaining a copy",
16+
"of this software and associated documentation files (the \"Software\"), to deal",
17+
"in the Software without restriction, including without limitation the rights",
18+
"to use, copy, modify, merge, publish, distribute, sublicense, and/or sell",
19+
"copies of the Software, and to permit persons to whom the Software is",
20+
"furnished to do so, subject to the following conditions:",
21+
"",
22+
"The above copyright notice and this permission notice shall be included in all",
23+
"copies or substantial portions of the Software.",
24+
"",
25+
"THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR",
26+
"IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,",
27+
"FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE",
28+
"AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER",
29+
"LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,",
30+
"OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE."
31+
],
32+
"license": "TextMate Bundle License",
33+
"version": "0.0.0"
34+
}
35+
],
36+
"version": 1
37+
}
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
"comments": {
3+
"lineComment": "#"
4+
},
5+
"brackets": [
6+
["{", "}"],
7+
["[", "]"],
8+
["(", ")"]
9+
],
10+
"autoClosingPairs": [
11+
["{", "}"],
12+
["[", "]"],
13+
["(", ")"],
14+
["\"", "\""],
15+
["'", "'"]
16+
],
17+
"surroundingPairs": [
18+
["{", "}"],
19+
["[", "]"],
20+
["(", ")"],
21+
["\"", "\""],
22+
["'", "'"]
23+
],
24+
"folding": {
25+
"offSide": true,
26+
"markers": {
27+
"start": "^\\s*#\\s*region\\b",
28+
"end": "^\\s*#\\s*endregion\\b"
29+
}
30+
},
31+
"indentationRules": {
32+
"increaseIndentPattern": "^\\s*.*(:|-) ?(&amp;\\w+)?(\\{[^}\"']*|\\([^)\"']*)?$",
33+
"decreaseIndentPattern": "^\\s+\\}$"
34+
}
35+
}
Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
{
2+
"name": "yaml",
3+
"displayName": "%displayName%",
4+
"description": "%description%",
5+
"version": "1.0.0",
6+
"publisher": "vscode",
7+
"license": "MIT",
8+
"engines": {
9+
"vscode": "*"
10+
},
11+
"scripts": {
12+
"update-grammar": "node ../node_modules/vscode-grammar-updater/bin textmate/yaml.tmbundle Syntaxes/YAML.tmLanguage ./syntaxes/yaml.tmLanguage.json"
13+
},
14+
"contributes": {
15+
"languages": [
16+
{
17+
"id": "dockercompose",
18+
"aliases": [
19+
"Compose",
20+
"compose"
21+
],
22+
"filenamePatterns": [
23+
"compose.yml",
24+
"compose.yaml",
25+
"compose.*.yml",
26+
"compose.*.yaml",
27+
"*docker*compose*.yml",
28+
"*docker*compose*.yaml"
29+
],
30+
"configuration": "./language-configuration.json"
31+
},
32+
{
33+
"id": "yaml",
34+
"aliases": [
35+
"YAML",
36+
"yaml"
37+
],
38+
"extensions": [
39+
".yml",
40+
".eyaml",
41+
".eyml",
42+
".yaml"
43+
],
44+
"firstLine": "^#cloud-config",
45+
"configuration": "./language-configuration.json"
46+
}
47+
],
48+
"grammars": [
49+
{
50+
"language": "dockercompose",
51+
"scopeName": "source.yaml",
52+
"path": "./syntaxes/yaml.tmLanguage.json"
53+
},
54+
{
55+
"language": "yaml",
56+
"scopeName": "source.yaml",
57+
"path": "./syntaxes/yaml.tmLanguage.json"
58+
}
59+
],
60+
"configurationDefaults": {
61+
"[yaml]": {
62+
"editor.insertSpaces": true,
63+
"editor.tabSize": 2,
64+
"editor.autoIndent": "advanced"
65+
}
66+
}
67+
},
68+
"repository": {
69+
"type": "git",
70+
"url": "https://github.com/microsoft/vscode.git"
71+
}
72+
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"displayName": "YAML Language Basics",
3+
"description": "Provides syntax highlighting and bracket matching in YAML files."
4+
}

0 commit comments

Comments
 (0)