v3.0.0
版本发布时间: 2023-03-10 23:19:15
AstroNvim/AstroNvim最新发布版本:v4.26.5(2024-09-24 22:20:36)
With the delays of Neovim v0.9 we have decided to go ahead and release v3.0.0 as it is stable with Neovim v0.8 support.
This update comes with a lot of breaking changes to help improve the configuration experience of AstroNvim. We are aiming to decrease the amount of abstraction that we have added to the configuration to make it easier for user's to understand. Please check out the Migration to v3.0 Guide for details on updating your user configuration
Top Changes
There are a ton of new features that are coming to v3.0, here are a few highlights:
- Moved to lazy.nvim for managing plugins instead of Packer! (Good bye
:PackerSync
) - Much abstraction was removed from the user configuration bringing the configuration closer to just configuring Neovim. The only abstractions we have left are for features that we have specifically built for AstroNvim.
- Out of the box fold engine powered by nvim-ufo
- A custom
statuscolumn
for cleanly displaying folds and signs (Neovim v0.9 only)- The signs in the sign column and fold indicators are all clickable. Clicking a diagnostic sign previews the message, clicking the git change sign previews the hunk, and clicking the folds open/close them!
- Removal of Bufferline in favor of our own, performant Heirline based
tabline
- new command,
:AstroRollback
for rolling back to the previous version before running:AstroUpdate
- added
checkhealth
with:checkhealth astronvim
to do some minor system checks. - Tons of performance improvements
New Repositories
Along with v3.0 and the migration to lazy.nvim, we have been hard at work building a new community repository for easily sharing common plugin configurations. We already have >50 Neovim plugins that are able to be added with a single line now in your configuration that are already configured to fit into AstroNvim. A special thanks goes to @luxus for most of the work that has been put into this amazing new project!
This repository is not going to be officially supported/maintained by the core AstroNvim project, but is meant to community led and maintained as a place for users to share pieces of their setup to each other. We are very excited to see how this piece of the project/community can grow in the future and help ease the configuration of AstroNvim and decrease the duplicate code out there.
User Configuration Template
Many users have been moving over to using the configuration method of splitting up their configuration files for easier maintenance and understanding. I have made a brand new GitHub template repository for AstroNvim v3.0 and moving forward that will help users start out with this type of user configuration. Simply go to the template repository linked above, click "Use this template", and it will create a new repository in your user for starting out a new user configuration! (More detailed instructions for using a GitHub Template Repo can be found in their Documentation)
Full Changelog: https://github.com/AstroNvim/AstroNvim/compare/v2.11.8...v3.0.0