Persist a tree sitter queries cache between editor restarts #37172
WeetHet
started this conversation in
Language Support
Replies: 1 comment
-
|
Probably need to adjust either |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Swift's tree sitter has an issue causing query creation to be exceedingly slow which causes a significant delay before any syntax highlighting can be done.
alex-pinkus/tree-sitter-swift#457
This does not happen between closing/reopening projects, only on restart, meaning that there is some kind of a cache already. Can we quickly persist this cache on disk to speed up syntax highlighting between restarts since it doesn't seem likely that the swift issue will be fixed soon
slow.mov
cc @maxbrunsfeld
Beta Was this translation helpful? Give feedback.
All reactions