diff --git a/src/common/text/elements/code.js b/src/common/text/elements/code.js index 6f3fc669f..5056bd137 100644 --- a/src/common/text/elements/code.js +++ b/src/common/text/elements/code.js @@ -42,6 +42,7 @@ const keywords = [ 'switch', 'match', 'case', + 'default', 'for', 'each', 'in', @@ -52,6 +53,11 @@ const keywords = [ 'do', 'goto', 'end', + 'throw', + 'try', + 'catch', + 'finally', + 'enum', 'function', 'func', 'fn', @@ -59,6 +65,7 @@ const keywords = [ 'async', 'await', 'require', + 'include', 'import', 'export', 'from', @@ -66,7 +73,9 @@ const keywords = [ 'use', 'module', 'struct', + 'union', 'new', + 'delete', 'this', 'super', 'base',