Remove unneccessary groups

This commit is contained in:
Yash-Singh1
2021-08-29 12:44:36 -07:00
parent abc63488a1
commit 65a1fa72a0
-8
View File
@@ -133,14 +133,6 @@ export const initEditor = (monacoEditor): void => {
)
)
.reduce((overallKeywords, nextKeyword) => ({ ...overallKeywords, ...nextKeyword }), {}),
noEatingSequenceArrows: ['-)', '--)', '->>', '-->>'].reduce(
(accumalator, arrow) => accumalator.concat(arrow, arrow + '+', arrow + '-'),
[]
),
eatingSequenceArrows: ['->', '-x'].reduce(
(accumalator, arrow) => accumalator.concat(arrow, arrow + '+', arrow + '-'),
[]
),
tokenizer: {
root: [
[/%%(?=.*%%$)/, { token: 'string', nextEmbedded: 'json' }],