From: root Date: Tue, 31 Aug 2021 21:54:46 +0000 (+0000) Subject: updated keywords for syntax highlighting X-Git-Url: https://git.brendanfh.com/?a=commitdiff_plain;h=506a38b40ee4369171b8d4f1ea1aec2bbf17cd1e;p=onyx-live.git updated keywords for syntax highlighting --- diff --git a/static/src/vendor/ace/mode-onyx.js b/static/src/vendor/ace/mode-onyx.js index a088dd9..ab1d863 100644 --- a/static/src/vendor/ace/mode-onyx.js +++ b/static/src/vendor/ace/mode-onyx.js @@ -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 = (