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