From d5a1a09eba3ea927028d994dc72450a5f57ca2dc Mon Sep 17 00:00:00 2001 From: Ofek Shilon Date: Sun, 12 Nov 2023 20:24:31 +0200 Subject: [PATCH] Fix #4253 --- src/basic-languages/cpp/cpp.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/basic-languages/cpp/cpp.ts b/src/basic-languages/cpp/cpp.ts index e1cc31a7..290df215 100644 --- a/src/basic-languages/cpp/cpp.ts +++ b/src/basic-languages/cpp/cpp.ts @@ -312,8 +312,7 @@ export const language = { // [[ attributes ]]. [/\[\s*\[/, { token: 'annotation', next: '@annotation' }], // delimiters and operators - [/[{}()\[\]]/, '@brackets'], - [/[<>](?!@symbols)/, '@brackets'], + [/[{}()<>\[\]]/, '@brackets'], [ /@symbols/, {