Skip to content

Commit

Permalink
Add "with" keyword
Browse files Browse the repository at this point in the history
  • Loading branch information
bguil committed Jul 26, 2024
1 parent bf25f02 commit 51faed5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/codemirrors/GrewCodeMirror.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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';
}
Expand Down

0 comments on commit 51faed5

Please sign in to comment.