Skip to content

Commit 393186e

Browse files
authored
This reverts commit aaf767a.
1 parent caad30b commit 393186e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/vs/workbench/services/language/common/languageService.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -182,11 +182,10 @@ class LanguageTableRenderer extends Disposable implements IExtensionFeatureTable
182182
localize('grammar', "Grammar"),
183183
localize('snippets', "Snippets")
184184
];
185-
const rows: IRowData[][] = languages.sort((a, b) => (a.id || '').localeCompare(b.id || ''))
185+
const rows: IRowData[][] = languages.sort((a, b) => a.id.localeCompare(b.id))
186186
.map(l => {
187187
return [
188-
l.id,
189-
l.name,
188+
l.id, l.name,
190189
new MarkdownString().appendMarkdown(`${l.extensions.map(e => `\`${e}\``).join(' ')}`),
191190
l.hasGrammar ? '✔︎' : '\u2014',
192191
l.hasSnippets ? '✔︎' : '\u2014'

0 commit comments

Comments
 (0)