Add folding rules

This commit is contained in:
Alex Dima 2018-03-14 11:52:52 +01:00
parent 46247f86ca
commit 21ac5f13ec
17 changed files with 115 additions and 15 deletions

View file

@ -31,7 +31,14 @@ export const conf: IRichLanguageConfiguration = {
{ open: '(', close: ')' },
{ open: '"', close: '"' },
{ open: '\'', close: '\'' },
]
],
folding: {
offSide: true,
markers: {
start: new RegExp("^\\s*#region\\b"),
end: new RegExp("^\\s*#endregion\\b")
}
}
};
export const language = <ILanguage>{