Skip to content

Commit 0200319

Browse files
TewanStefanH-AT
authored andcommitted
Several fixes and adjustments to language configuration
1 parent cc0585f commit 0200319

File tree

1 file changed

+13
-10
lines changed

1 file changed

+13
-10
lines changed

package.json

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@
8484
"languages": [
8585
{
8686
"id": "keyvalue3",
87+
"configuration": "./lang-config-kv3.json",
8788
"aliases": [
8889
"Valve Keyvalue 3",
8990
"keyvalue3"
@@ -95,45 +96,45 @@
9596
".txt",
9697
".acf",
9798
".vmf",
99+
".vmm",
98100
".vmx"
99101
],
100102
"filenames": [
101103
"gameinfo.txt"
102104
],
103-
"firstLine": "^\"?(?i)\\w(?-i)\"?",
104-
"configuration": "./lang-config-kv3.json"
105+
"firstLine": "^([\\w ]+|\"[\\w ]+\")"
105106
},
106107
{
107108
"id": "vmt",
109+
"configuration": "./lang-config-kv3.json",
108110
"aliases": [
109111
"Valve Material Type",
110112
"vmt"
111113
],
112114
"extensions": [
113115
".vmt"
114-
],
115-
"configuration": "./lang-config-kv3.json"
116+
]
116117
},
117118
{
118119
"id": "fgd",
120+
"configuration": "./lang-config-kv3.json",
119121
"aliases": [
120122
"FGD",
121123
"Forge Game Data",
122124
"Hammer Game Data"
123125
],
124126
"extensions": [
125127
".fgd"
126-
],
127-
"configuration": "./lang-config-kv3.json"
128+
]
128129
},
129130
{
130131
"id": "captions",
132+
"configuration": "./lang-config-kv3.json",
131133
"aliases": [
132134
"Source Engine Captions",
133135
"Source Engine Subtitles"
134136
],
135137
"firstLine": "^\"?(?i)lang(?-i)\"?",
136-
"configuration": "./lang-config-kv3.json",
137138
"filenamePatterns": [
138139
"subtitles_*.txt",
139140
"captions_*.txt"
@@ -185,14 +186,16 @@
185186
},
186187
{
187188
"id": "soundscript",
189+
"configuration": "./lang-config-kv3.json",
188190
"aliases": [
189191
"Valve Soundscript",
190192
"Source Soundscript"
191193
],
192194
"filenamePatterns": [
193-
"game_sounds_*.txt"
194-
],
195-
"configuration": "./language-configuration.json"
195+
"game_sounds_*.txt",
196+
"npc_sounds_*.txt",
197+
"level_sounds_*.txt"
198+
]
196199
}
197200
],
198201
"grammars": [

0 commit comments

Comments
 (0)