Asymmetric, rhombus, hexagonal nodes

This commit is contained in:
Yash-Singh1
2021-08-17 17:11:22 -07:00
parent ca07ed764d
commit ae2880c8a2
+2 -2
View File
@@ -27,10 +27,10 @@ export const initEditor = (monacoEditor): void => {
),
tokenizer: {
root: [
[/[{}]/, 'delimiter.bracket'],
[/[a-z_$][\w$]*/, { cases: { '@typeKeywords': 'keyword', '@keywords': 'keyword' } }],
[/[[{(}>]+.+?[)\]}]+/, 'string'],
[/[-+=>ox]+/, { cases: { '@arrows': 'transition' } }],
[/[[{(}]+.+?[)\]}]+/, 'string'],
[/[{}]/, 'delimiter.bracket'],
[/".*"/, 'string'],
[/#(\d|[a-zA-Z])*;/, 'html.entity']
]