Skip to content

fix inefficient semanticTokens/range at the end of files#3195

Merged
Techatrix merged 1 commit into
zigtools:masterfrom
xdBronch:tokens-range
May 13, 2026
Merged

fix inefficient semanticTokens/range at the end of files#3195
Techatrix merged 1 commit into
zigtools:masterfrom
xdBronch:tokens-range

Conversation

@xdBronch
Copy link
Copy Markdown
Contributor

@xdBronch xdBronch commented May 8, 2026

realized the same thing was happening with inlay hints as well
closes #1977

@xdBronch
Copy link
Copy Markdown
Contributor Author

xdBronch commented May 8, 2026

err, somehow just realizing that this is actually pretty far from ideal... it just happens to be that a couple of the root decls are usually what you want which is what this'll give
ok i did something a lot simpler it works just fine

Comment thread src/features/semantic_tokens.zig Outdated
Comment thread src/features/semantic_tokens.zig Outdated
Comment thread src/features/inlay_hints.zig Outdated
@xdBronch
Copy link
Copy Markdown
Contributor Author

sorry for the poor timing again, won't be home to work on this for a couple weeks

@Techatrix
Copy link
Copy Markdown
Member

No worries. I could take over If you'd like. Also happy to wait until your back.

@xdBronch
Copy link
Copy Markdown
Contributor Author

feel free, I'd probably just be applying your suggestions anyway 😄

Co-authored-by: Techatrix <techatrix@mailbox.org>
@Techatrix Techatrix merged commit f0bb3d2 into zigtools:master May 13, 2026
8 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

inefficient semanticTokens/range on the end of the document

2 participants