Verified Commit 0fdba368 authored by Camil Staps's avatar Camil Staps 🚀

v0.1.20: same as previous commit, but without lookbehind

parent 618362ea
Pipeline #16313 passed with stage
in 25 seconds
......@@ -367,7 +367,7 @@ var highlightRules = {
['punctuation', 'whitespace', 'literal literal-char'], 'charlist'],
[/(\(.+\)\s+infix.*)/,
['__type__']],
[/([\w`]+\s*(?<!\n)::.*)/,
[/([\w`]+(?:\s*[^\S\n])?::.*)/,
['__type__']],
[/([A-Z][\w`]*)/,['constructor']],
[/\b(_)\b/, ['argument argument-wildcard']],
......
{
"name": "clean-highlighter",
"version": "0.1.19",
"version": "0.1.20",
"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