diff --git a/src/components/codemirrors/GrewCodeMirror.vue b/src/components/codemirrors/GrewCodeMirror.vue index eecd062d..311e69ba 100644 --- a/src/components/codemirrors/GrewCodeMirror.vue +++ b/src/components/codemirrors/GrewCodeMirror.vue @@ -54,7 +54,7 @@ CodeMirror.defineMode('grew', () => { return 'operator'; } stream.eatWhile(/\w/); - const cur = stream.current() as 'global' | 'pattern' | 'commands' | 'without'; + const cur = stream.current() as 'global' | 'pattern' | 'commands' | 'without' | 'with'; return words[cur] || 'variable'; }