From 22dd2fd3a3aca2a4a4c7e64ed17cc4e922efa495 Mon Sep 17 00:00:00 2001 From: Folke Lemaitre Date: Mon, 24 Jun 2024 17:13:59 +0200 Subject: [PATCH] docs: added rockspec stuff --- docs/packages.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/packages.md b/docs/packages.md index 099c17e..d9cba16 100644 --- a/docs/packages.md +++ b/docs/packages.md @@ -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. +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 Supports the [pkg.json](https://github.com/nvim-lua/nvim-package-specification/issues/41) format,