From a3c84ee926b94a2cffd77b78c34868ddceea7167 Mon Sep 17 00:00:00 2001 From: Josh Goebel Date: Sun, 19 Nov 2023 22:40:05 -0500 Subject: [PATCH] enh(cpp) add numbers to preprocessor scope --- src/languages/cpp.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/languages/cpp.js b/src/languages/cpp.js index 64aee1d44e..3b0e072db3 100644 --- a/src/languages/cpp.js +++ b/src/languages/cpp.js @@ -106,6 +106,7 @@ export default function(hljs) { begin: /\\\n/, relevance: 0 }, + NUMBERS, hljs.inherit(STRINGS, { className: 'string' }), { className: 'string',