Fix default values for language-configuration

This commit is contained in:
Martin Aeschlimann 2016-08-15 16:01:34 +02:00
parent 549c1772fe
commit 66e30f2b19

View file

@ -137,10 +137,8 @@ const schema: IJSONSchema = {
properties: { properties: {
comments: { comments: {
default: { default: {
comments: { blockComment: ['/*', '*/'],
blockComment: ['/*', '*/'], lineComment: '//'
lineComment: '//'
}
}, },
description: nls.localize('schema.comments', 'Defines the comment symbols'), description: nls.localize('schema.comments', 'Defines the comment symbols'),
type: 'object', type: 'object',
@ -163,9 +161,7 @@ const schema: IJSONSchema = {
} }
}, },
brackets: { brackets: {
default: { default: [ [ '(', ')' ], [ '[', ']' ] , [ '{', '}' ]],
brackets: [ [ '(', ')' ], [ '[', ']' ] , [ '{', '}' ]]
},
description: nls.localize('schema.brackets', 'Defines the bracket symbols that increase or decrease the indentation.'), description: nls.localize('schema.brackets', 'Defines the bracket symbols that increase or decrease the indentation.'),
type: 'array', type: 'array',
items: { items: {
@ -173,9 +169,7 @@ const schema: IJSONSchema = {
} }
}, },
autoClosingPairs: { autoClosingPairs: {
default: { default: [ [ '(', ')' ], [ '[', ']' ] , [ '{', '}' ]],
autoClosingPairs: [ [ '(', ')' ], [ '[', ']' ] , [ '{', '}' ]]
},
description: nls.localize('schema.autoClosingPairs', 'Defines the bracket pairs. When a opening bracket is entered, the closing bracket is inserted automatically.'), description: nls.localize('schema.autoClosingPairs', 'Defines the bracket pairs. When a opening bracket is entered, the closing bracket is inserted automatically.'),
type: 'array', type: 'array',
items: { items: {
@ -202,9 +196,7 @@ const schema: IJSONSchema = {
} }
}, },
surroundingPairs: { surroundingPairs: {
default: { default: [ [ '(', ')' ], [ '[', ']' ] , [ '{', '}' ]],
surroundingPairs: [ [ '(', ')' ], [ '[', ']' ] , [ '{', '}' ]]
},
description: nls.localize('schema.surroundingPairs', 'Defines the bracket pairs that can be used to surround a selected string.'), description: nls.localize('schema.surroundingPairs', 'Defines the bracket pairs that can be used to surround a selected string.'),
type: 'array', type: 'array',
items: { items: {