mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-05 13:27:49 +08:00
added plus to code punctuation
This commit is contained in:
parent
944ad75b7b
commit
c86e3f64f6
1 changed files with 1 additions and 1 deletions
|
@ -313,7 +313,7 @@ export function punctuateWord(previousWord, currentWord, index, maxindex) {
|
|||
Math.random() < 0.25 &&
|
||||
Config.language.split("_")[0] == "code"
|
||||
) {
|
||||
let specials = ["{", "}", "[", "]", "(", ")", ";", "=", "%", "/"];
|
||||
let specials = ["{", "}", "[", "]", "(", ")", ";", "=", "+", "%", "/"];
|
||||
|
||||
word = specials[Math.floor(Math.random() * 10)];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue