updated keywords for syntax highlighting
authorroot <root@brendanfh.com>
Tue, 31 Aug 2021 21:54:46 +0000 (21:54 +0000)
committerroot <root@brendanfh.com>
Tue, 31 Aug 2021 21:54:46 +0000 (21:54 +0000)
static/src/vendor/ace/mode-onyx.js

index a088dd92f22a700061a361b2401f7bbeab56687d..ab1d8632c45e2e50e2ea70276906a1f6348af11b 100644 (file)
@@ -59,7 +59,7 @@ var cFunctions = exports.cFunctions = "\\b(?:hypot(?:f|l)?|s(?:scanf|ystem|nprin
 var onyxHighlightRules = function() {
 
     var keywordControls = (
-        "package|struct|enum|use|global|if|elseif|else|for|while|do|switch|case|return|break|continue|defer|fallthrough|as|cast|sizeof|alignof"
+        "package|struct|enum|use|global|if|elseif|else|for|while|do|switch|case|return|break|continue|defer|fallthrough|as|cast|sizeof|alignof|typeof|macro"
     );
     
     var storageType = (