Add < > to auto closing pairs

They represent JSX elements.
This commit is contained in:
Remco Haszing 2022-07-22 11:06:21 +02:00
parent 936376af3d
commit dbf74268d3
No known key found for this signature in database
GPG key ID: 40D9F5FE9155FD3C

View file

@ -18,7 +18,8 @@ export const conf: languages.LanguageConfiguration = {
{ open: '`', close: '`' },
{ open: '{', close: '}' },
{ open: '_', close: '_' },
{ open: '**', close: '**' }
{ open: '**', close: '**' },
{ open: '<', close: '>' }
],
onEnterRules: [
{