-
-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
speed up setup time by conditionally loading nvim-treesitter.query and nvim-treesitter.indent #213
Conversation
the effect is less dramatic without using https://github.com/lewis6991/impatient.nvim |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good 👍
just a couple small changes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks
oh sorry, can you please rebase against develop and fix the conflictc |
@goolord you need to rebase, not merge in develop. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉
according to
PackerProfile
this change makessetup
go from taking ~22ms to ~0.4ms on my machine. unsure why requiring these files is so slow.