Skip to content

Commit 7c5f948

Browse files
TewanStefanH-AT
authored andcommitted
Create language config for vpc
1 parent 9d4015e commit 7c5f948

File tree

3 files changed

+30
-9
lines changed

3 files changed

+30
-9
lines changed
Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,19 @@
11
{
22
"comments": {
3-
// symbol used for single line comment. Remove this entry if your language does not support line comments
4-
"lineComment": "//",
3+
"lineComment": "//"
54
},
6-
// symbols used as brackets
75
"brackets": [
86
["{", "}"],
97
["[", "]"],
108
["(", ")"]
119
],
12-
// symbols that are auto closed when typing
1310
"autoClosingPairs": [
1411
["{", "}"],
1512
["[", "]"],
1613
["(", ")"],
1714
["\"", "\""],
1815
["'", "'"]
1916
],
20-
// symbols that can be used to surround a selection
2117
"surroundingPairs": [
2218
["{", "}"],
2319
["[", "]"],

lang-config-vpc.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
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+
}

package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101
"gameinfo.txt"
102102
],
103103
"firstLine": "^\"?(?i)\\w(?-i)\"?",
104-
"configuration": "./language-configuration.json"
104+
"configuration": "./lang-config-kv3.json"
105105
},
106106
{
107107
"id": "vmt",
@@ -112,7 +112,7 @@
112112
"extensions": [
113113
".vmt"
114114
],
115-
"configuration": "./language-configuration.json"
115+
"configuration": "./lang-config-kv3.json"
116116
},
117117
{
118118
"id": "fgd",
@@ -124,7 +124,7 @@
124124
"extensions": [
125125
".fgd"
126126
],
127-
"configuration": "./language-configuration.json"
127+
"configuration": "./lang-config-kv3.json"
128128
},
129129
{
130130
"id": "captions",
@@ -133,7 +133,7 @@
133133
"Source Engine Subtitles"
134134
],
135135
"firstLine": "^\"?(?i)lang(?-i)\"?",
136-
"configuration": "./language-configuration.json",
136+
"configuration": "./lang-config-kv3.json",
137137
"filenamePatterns": [
138138
"subtitles_*.txt",
139139
"captions_*.txt"
@@ -151,6 +151,7 @@
151151
},
152152
{
153153
"id": "vpc",
154+
"configuration": "./lang-config-vpc.json",
154155
"aliases": [
155156
"Valve Project Creator"
156157
],

0 commit comments

Comments
 (0)