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

@ -261,7 +261,7 @@
- I don't know if I'll ever optimize this to be even more efficient than it
already is, but source ranges are mostly irrelevant to the high level task of
matching tokens, so maybe arranging the storage like
```rs
```rust
struct Tokens {
kinds: Vec<TokenKind>,
source_ranges: Vec<Range<usize>>,