Skip to content

Commit 5bb817d

Browse files
committed
Fixes microsoft#32616: Add surrounding pairs to plaintext
1 parent 61867d9 commit 5bb817d

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

src/vs/editor/common/modes/modesRegistry.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,15 @@ LanguageConfigurationRegistry.register(PLAINTEXT_LANGUAGE_IDENTIFIER, {
6161
['[', ']'],
6262
['{', '}'],
6363
],
64+
surroundingPairs: [
65+
{ open: '{', close: '}' },
66+
{ open: '[', close: ']' },
67+
{ open: '(', close: ')' },
68+
{ open: '<', close: '>' },
69+
{ open: '\"', close: '\"' },
70+
{ open: '\'', close: '\'' },
71+
{ open: '`', close: '`' },
72+
],
6473
folding: {
6574
offSide: true
6675
}

0 commit comments

Comments
 (0)