Skip to content

Commit b31d6e5

Browse files
authored
Fix the editor.wordSegmenterLocales description in the settings (microsoft#210305)
1 parent 501881f commit b31d6e5

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/vs/editor/common/config/editorOptions.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5272,17 +5272,16 @@ class WordSegmenterLocales extends BaseEditorOption<EditorOption.wordSegmenterLo
52725272
{
52735273
anyOf: [
52745274
{
5275-
description: nls.localize('wordSegmenterLocales', "Locales to be used for word segmentation when doing word related navigations or operations. Specify the BCP 47 language tag of the word you wish to recognize (e.g., ja, zh-CN, zh-Hant-TW, etc.)."),
52765275
type: 'string',
52775276
}, {
5278-
description: nls.localize('wordSegmenterLocales', "Locales to be used for word segmentation when doing word related navigations or operations. Specify the BCP 47 language tag of the word you wish to recognize (e.g., ja, zh-CN, zh-Hant-TW, etc.)."),
52795277
type: 'array',
52805278
items: {
52815279
type: 'string'
52825280
}
52835281
}
5284-
]
5285-
}
5282+
],
5283+
description: nls.localize('wordSegmenterLocales', "Locales to be used for word segmentation when doing word related navigations or operations. Specify the BCP 47 language tag of the word you wish to recognize (e.g., ja, zh-CN, zh-Hant-TW, etc.). The locale specification can be a string or an array of strings."),
5284+
},
52865285
);
52875286
}
52885287

0 commit comments

Comments
 (0)