v2.8.0
版本发布时间: 2022-11-21 21:25:40
AstroNvim/AstroNvim最新发布版本:v4.26.5(2024-09-24 22:20:36)
What's Changed
- Complete revamp of lazy loading to only load some plugins when the first real file is opened. Also provided easy to use hooks for this functionality to be easily integrated with user defined plugins: https://astronvim.github.io/Recipes/custom_plugins#lazy-loading
- In my testing on my machine I'm able to get ~30ms startup time for both base AstroNvim and even with my user configuration after using the new lazy loading hooks for the plugins I have added
- There is some caveats where automatic Mason package and treesitter parser installation will not start on startup because it is now lazy loaded. If things are defined in
ensure_installed
for Mason plugins and treesitter, these will automatically install on the first real file being opened or if you open the Mason ui with:Mason
or<leader>pI
- Make installation more streamlined: AstroNvim will automatically sync plugins, treesitter parsers, and Mason packages on initial startup
- Various code cleanup and refactoring
Full Changelog: https://github.com/AstroNvim/AstroNvim/compare/v2.7.4...v2.8.0