Ofek Shilon 1 rok temu
rodzic
commit
d5a1a09eba
1 zmienionych plików z 1 dodań i 2 usunięć
  1. 1 2
      src/basic-languages/cpp/cpp.ts

+ 1 - 2
src/basic-languages/cpp/cpp.ts

@@ -312,8 +312,7 @@ export const language = <languages.IMonarchLanguage>{
 			// [[ attributes ]].
 			// [[ attributes ]].
 			[/\[\s*\[/, { token: 'annotation', next: '@annotation' }],
 			[/\[\s*\[/, { token: 'annotation', next: '@annotation' }],
 			// delimiters and operators
 			// delimiters and operators
-			[/[{}()\[\]]/, '@brackets'],
-			[/[<>](?!@symbols)/, '@brackets'],
+			[/[{}()<>\[\]]/, '@brackets'],
 			[
 			[
 				/@symbols/,
 				/@symbols/,
 				{
 				{