Verified Commit 1f3f7da2 authored by Camil Staps's avatar Camil Staps

v0.1.30: add some specializations for packed array type definition (in...

v0.1.30: add some specializations for packed array type definition (in cloogle) and packed array expressions
parent c84223e4
Pipeline #42197 passed with stage
in 56 seconds
......@@ -196,6 +196,8 @@ var highlightRules = {
['keyword']],
[/([\(\)])/, ['punctuation']],
[/(::)/, ['punctuation'], 'type'],
[/({)(\s*)(32)(\s*)(#)/,
['punctuation','whitespace','punctuation','whitespace','punctuation']],
[/([{};])/, ['punctuation']],
[/(=>)/, ['punctuation']],
[/(")/, ['literal literal-string'], 'string'],
......@@ -489,6 +491,7 @@ var highlightRules = {
[/(\[! \])/, ['type']], // Special cases for head-strict and tail-strict lists;
[/(\[ !\])/, ['type']], // we don't want to parse whitespace there
[/(\()(->)(\))/, ['punctuation', 'type', 'punctuation']],
[/({32#})/, ['type']],
[/([~@#\$%\^\?!\+\-\*<>\\\/\|&=:\[\]{}(,)]+)/, ['type']],
[/([a-z_`][\w`]*)/, ['typevar'], 'jump:typeDefVars']
],
......
{
"name": "clean-highlighter",
"version": "0.1.29",
"version": "0.1.30",
"description": "Clean language highlighter",
"keywords": ["clean","highlighter"],
"main": "clean.js",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment