mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-19 21:06:46 +00:00
docs: updated developer section
This commit is contained in:
parent
b82ff4001b
commit
859da3df2f
4 changed files with 94 additions and 17 deletions
18
docs/news.md
18
docs/news.md
|
@ -6,17 +6,29 @@ sidebar_position: 10
|
|||
## 11.x
|
||||
|
||||
- **New Website**: There's a whole new website with a fresh look and improved documentation.
|
||||
Check it out at [lazy.nvim](https://lazy.folke.io/).
|
||||
Check it out at [https://lazy.folke.io](https://lazy.folke.io/).
|
||||
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.
|
||||
|
||||
- **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)
|
||||
|
||||
- Packages are not limited to just Neovim plugins. You can install any **luarocks** package, like:
|
||||
|
||||
```lua
|
||||
{ "https://github.com/lubyk/yaml" }
|
||||
```
|
||||
|
||||
Luarocks packages without a `/lua` directory are never lazy-loaded, since it's just a library.
|
||||
|
||||
- `build` functions or `*.lua` build files (like `build.lua`) now run asynchronously.
|
||||
You can use `coroutine.yield(status_msg)` to show progress.
|
||||
Yielding will also schedule the next `resume` to run in the next tick,
|
||||
so you can do long-running tasks without blocking Neovim.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue