From f3dfe3b3179926dd800709e8079f67a593668ff5 Mon Sep 17 00:00:00 2001 From: Inclusive Coding Bot <102100353+inclusive-coding-bot@users.noreply.github.com> Date: Wed, 30 Mar 2022 18:59:49 -0400 Subject: [PATCH] Update prism-nim.js --- docs/_style/prism-master/components/prism-nim.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_style/prism-master/components/prism-nim.js b/docs/_style/prism-master/components/prism-nim.js index 4cf3df40..40649327 100644 --- a/docs/_style/prism-master/components/prism-nim.js +++ b/docs/_style/prism-master/components/prism-nim.js @@ -25,9 +25,9 @@ Prism.languages.nim = { 'operator': { // Look behind and look ahead prevent wrong highlighting of punctuations [. .] {. .} (. .) // but allow the slice operator .. to take precedence over them - // One can define theirs own operators in Nim so all combination of operators might be an operator. + // One can define their own operators in Nim so all combination of operators might be an operator. pattern: /(^|[({\[](?=\.\.)|(?![({\[]\.).)(?:(?:[=+\-*\/<>@$~&%|!?^:\\]|\.\.|\.(?![)}\]]))+|\b(?:and|div|of|or|in|is|isnot|mod|not|notin|shl|shr|xor)\b)/m, lookbehind: true }, 'punctuation': /[({\[]\.|\.[)}\]]|[`(){}\[\],:]/ -}; \ No newline at end of file +};