Lua highlighting

This commit is contained in:
りき萌 2024-03-25 22:07:52 +01:00
parent 8f43531b47
commit 97ce063549
4 changed files with 141 additions and 1 deletions

View file

@ -51,6 +51,11 @@ impl CompiledSyntax {
);
last_match_end = capture.range().end;
}
push_token(
&mut tokens,
types.default,
i + last_match_end..i + whole_match.range().end,
);
i += whole_match.range().end;
had_match = true;
break;