From 65a1fa72a0004ca57fc40ee835d3308f77d0dc81 Mon Sep 17 00:00:00 2001 From: Yash-Singh1 Date: Sun, 29 Aug 2021 12:44:36 -0700 Subject: [PATCH] Remove unneccessary groups --- src/lib/components/editor/util.ts | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/lib/components/editor/util.ts b/src/lib/components/editor/util.ts index 64e04b1b..3ede9ff9 100644 --- a/src/lib/components/editor/util.ts +++ b/src/lib/components/editor/util.ts @@ -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' }],