docs: updated blog post

This commit is contained in:
Folke Lemaitre 2024-06-23 21:03:42 +02:00
parent 96ab1dd066
commit 31a5e19fbb
No known key found for this signature in database
GPG Key ID: 41F8B1FBACAE2040
1 changed files with 14 additions and 6 deletions

View File

@ -7,12 +7,20 @@ Learn about the new features and improvements in **lazy.nvim** v11.0
<!-- truncate --> <!-- truncate -->
Lazy now automatically resolves specs from: ## New Website
- a plugin's `lazy.lua` file There's a whole new website with a fresh look and improved documentation.
- a plugin's rockspec Check it out at [lazy.nvim](https://lazy.folke.io/).
- a plugin's packspec (experimental, since the format is not quite there yet) The GitHub `README.md` has been updated to point to the new website.
The `vimdoc` contains all the information that is available on the website.
This PR also includes a big rewrite of how a final spec is resolved based on a plugin's spec fragments. ## New Features
Should be a tiny bit faster, but more importantly, fixes some issues and is easier to maintain.
- **Spec Resolution & Merging**: the code that resolves a final spec from a plugin's fragments has been rewritten.
This should be a tiny bit faster, but more importantly, fixes some issues and is easier to maintain.
- `rocks`: specs can now specify a list of rocks ([luarocks](https://luarocks.org/)) that should be installed.
- [Packages](https://lazy.folke.io/packages) can now specify their dependencies and configuration using one of:
- **Lazy**: `lazy.lua` file
- **Rockspec**: [luarocks](https://luarocks.org/) `*-scm-1.rockspec` [file](https://github.com/luarocks/luarocks/wiki/Rockspec-format)
- **Packspec**: `pkg.json` (experimental, since the [format](https://github.com/neovim/packspec/issues/41) is not quite there yet)