Lua highlighting
This commit is contained in:
parent
8f43531b47
commit
97ce063549
4 changed files with 141 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue