docs: added rockspec stuff

This commit is contained in:
Folke Lemaitre 2024-06-24 17:13:59 +02:00
parent 65b92c369a
commit 22dd2fd3a3
No known key found for this signature in database
GPG Key ID: 41F8B1FBACAE2040
1 changed files with 6 additions and 0 deletions

View File

@ -28,6 +28,12 @@ Syntax is the same as any plugin spec.
When a plugin contains a `*-1.rockspec` file, **lazy.nvim** will automatically build the rock and its dependencies. When a plugin contains a `*-1.rockspec` file, **lazy.nvim** will automatically build the rock and its dependencies.
A **rockspec** will only be used if one of the following is true:
- the package does not have a `/lua` directory
- the package has a complex build step
- the package has dependencies (excluding `lua`)
## Packspec ## Packspec
Supports the [pkg.json](https://github.com/nvim-lua/nvim-package-specification/issues/41) format, Supports the [pkg.json](https://github.com/nvim-lua/nvim-package-specification/issues/41) format,