Skip to content

Commit 66e30f2

Browse files
committed
Fix default values for language-configuration
1 parent 549c177 commit 66e30f2

1 file changed

Lines changed: 5 additions & 13 deletions

File tree

src/vs/editor/node/languageConfiguration.ts

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -137,10 +137,8 @@ const schema: IJSONSchema = {
137137
properties: {
138138
comments: {
139139
default: {
140-
comments: {
141-
blockComment: ['/*', '*/'],
142-
lineComment: '//'
143-
}
140+
blockComment: ['/*', '*/'],
141+
lineComment: '//'
144142
},
145143
description: nls.localize('schema.comments', 'Defines the comment symbols'),
146144
type: 'object',
@@ -163,19 +161,15 @@ const schema: IJSONSchema = {
163161
}
164162
},
165163
brackets: {
166-
default: {
167-
brackets: [ [ '(', ')' ], [ '[', ']' ] , [ '{', '}' ]]
168-
},
164+
default: [ [ '(', ')' ], [ '[', ']' ] , [ '{', '}' ]],
169165
description: nls.localize('schema.brackets', 'Defines the bracket symbols that increase or decrease the indentation.'),
170166
type: 'array',
171167
items: {
172168
$ref: '#definitions/bracketPair'
173169
}
174170
},
175171
autoClosingPairs: {
176-
default: {
177-
autoClosingPairs: [ [ '(', ')' ], [ '[', ']' ] , [ '{', '}' ]]
178-
},
172+
default: [ [ '(', ')' ], [ '[', ']' ] , [ '{', '}' ]],
179173
description: nls.localize('schema.autoClosingPairs', 'Defines the bracket pairs. When a opening bracket is entered, the closing bracket is inserted automatically.'),
180174
type: 'array',
181175
items: {
@@ -202,9 +196,7 @@ const schema: IJSONSchema = {
202196
}
203197
},
204198
surroundingPairs: {
205-
default: {
206-
surroundingPairs: [ [ '(', ')' ], [ '[', ']' ] , [ '{', '}' ]]
207-
},
199+
default: [ [ '(', ')' ], [ '[', ']' ] , [ '{', '}' ]],
208200
description: nls.localize('schema.surroundingPairs', 'Defines the bracket pairs that can be used to surround a selected string.'),
209201
type: 'array',
210202
items: {

0 commit comments

Comments
 (0)