mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 16:15:41 +01:00
Add < > to auto closing pairs
They represent JSX elements.
This commit is contained in:
parent
936376af3d
commit
dbf74268d3
1 changed files with 2 additions and 1 deletions
|
|
@ -18,7 +18,8 @@ export const conf: languages.LanguageConfiguration = {
|
||||||
{ open: '`', close: '`' },
|
{ open: '`', close: '`' },
|
||||||
{ open: '{', close: '}' },
|
{ open: '{', close: '}' },
|
||||||
{ open: '_', close: '_' },
|
{ open: '_', close: '_' },
|
||||||
{ open: '**', close: '**' }
|
{ open: '**', close: '**' },
|
||||||
|
{ open: '<', close: '>' }
|
||||||
],
|
],
|
||||||
onEnterRules: [
|
onEnterRules: [
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue